Managed Accounts
Create, get, list, update, and delete MSP managed accounts
Account id of the msp account
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns managed account record
GET /managed-account HTTP/1.1
Host: app.harness.io
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account id of the msp account
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns id of object created
POST /managed-account HTTP/1.1
Host: app.harness.io
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account id of the msp account
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns managed account record
PUT /managed-account HTTP/1.1
Host: app.harness.io
Content-Type: application/json
Accept: */*
Content-Length: 275
{
"uuid": "text",
"accountId": "text",
"accountName": "text",
"mspAccountId": "text",
"createdAt": 1,
"lastUpdatedAt": 1,
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account id of the msp account
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns boolean indicating deletion status
DELETE /managed-account HTTP/1.1
Host: app.harness.io
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account id of the msp account
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns list of managed accounts for the msp account
GET /managed-account/list HTTP/1.1
Host: app.harness.io
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?