Create a new Managed Client
POST/managed-clients
Create a new Managed Client. The API returns a result that includes the Managed Client ID.
Request
- application/json
Body
required
Cluster ID that the ManagedClient is linked to
description for the ManagedClient to create
name for the ManagedClient to create
Type of the ManagedClient (VA, CCG) to create
Responses
- 200
- 400
- 401
- 403
- 429
- 500
The created ManagedClient
- application/json
- Schema
- Example (from schema)
Schema
ManagedClient ID
ManagedClient alert key
Previous CC ID to be used in data migration. (This field will be deleted after CC migration!)
The client ID used in API management
Cluster ID that the ManagedClient is linked to
ManagedClient description
The public IP address of the ManagedClient
When the ManagedClient was last seen by the server
Default value: VA-$clientId
ManagedClient name
Milliseconds since the ManagedClient has polled the server
Possible values: [NORMAL
, UNDEFINED
, NOT_CONFIGURED
, CONFIGURING
, WARNING
, ERROR
, FAILED
, null
]
Status of the ManagedClient
Type of the ManagedClient (VA, CCG)
Possible values: [null
, idn
, iai
, spConnectCluster
, sqsCluster
, das-rc
, das-pc
, das-dc
]
Cluster Type of the ManagedClient
ManagedClient VA download URL
Version that the ManagedClient's VA is running
Client's apiKey
The date/time this ManagedClient was created
The date/time this ManagedClient was last updated
Possible values: [null
, PROVISIONED
, DRAFT
]
The provisioning status of the ManagedClient
{
"id": "2c9180878eaf4204018eb019c3570003",
"alertKey": "CLIENT_STATUS_NOT_CONFIGURED",
"apiGatewayBaseUrl": "string",
"cookbook": "string",
"ccId": 2248,
"clientId": "00be54a2-bb6d-402f-9159-beb2d5319347",
"clusterId": "e1ff7bb24c934240bbf55e1aa39e41c5",
"description": "A short description of the ManagedClient",
"ipAddress": "123.456.78.90",
"lastSeen": "2020-01-01T00:00:00.000000Z",
"name": "aName",
"sinceLastSeen": 15000,
"status": "NORMAL",
"type": "VA",
"clusterType": "idn",
"vaDownloadUrl": "aUrl",
"vaVersion": "va-megapod-useast1-610-1621372012",
"secret": "ef878e15eaa8c8d3e2fa52f41125e2a0eeadadc6a14f931a33ad3e1b62d56381",
"createdAt": "2023-08-04T20:48:01.865Z",
"updatedAt": "2023-08-04T20:48:01.865Z",
"provisionStatus": "PROVISIONED"
}
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (from schema)
- 403
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (from schema)
- 500
Schema
Array [
]
Array [
]
Fine-grained error code providing more detail of the error.
Unique tracking id for the error.
messages
object[]
Generic localized reason for error
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
causes
object[]
Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
The locale for the message text, a BCP 47 language tag.
Possible values: [DEFAULT
, REQUEST
, null
]
An indicator of how the locale was selected. DEFAULT means the locale is the system default. REQUEST means the locale was selected from the request context (i.e., best match based on the Accept-Language header). Additional values may be added in the future without notice.
Actual text of the error message in the indicated locale.
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}