Handle status request from client
POSThttps://sailpoint.api.identitynow.com/beta/managed-clients/:id/status
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Update a status detail passed in from the client
Request
Path Parameters
ID of the Managed Client Status to update
- application/json
Bodyrequired
ManagedClientStatus body information
{"alertKey":"","id":"5678","clusterId":"1234","ccg_etag":"ccg_etag123xyz456","ccg_pin":"NONE","cookbook_etag":"20210420125956-20210511144538","hostname":"megapod-useast1-secret-hostname.sailpoint.com","internal_ip":"127.0.0.1","lastSeen":"1620843964604","sinceSeen":"14708","sinceSeenMillis":"14708","localDev":false,"stacktrace":"","state":null,"status":"NORMAL","uuid":null,"product":"idn","va_version":null,"platform_version":"2","os_version":"2345.3.1","os_type":"flatcar","hypervisor":"unknown"}
status of the Managed Client
Possible values: [NORMAL
, UNDEFINED
, NOT_CONFIGURED
, CONFIGURING
, WARNING
, ERROR
, FAILED
]
type of the Managed Client
Possible values: [CCG
, VA
, INTERNAL
, IIQ_HARVESTER
, null
]
CCG
timestamp on the Client Status update
2020-01-01T00:00:00.000000Z
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Responds with the updated Managed Client Status.
- application/json
- Schema
- Example (auto)
Schema
ManagedClientStatus body information
{"body":{"id":"1528","clientId":"1528","clusterId":"1533","orgType":"test","vaDownloadUrl":"https://sptcbu-va-images.s3.amazonaws.com/va-latest.zip","clusterJobCount":1,"configuration":{"clusterType":"sqsCluster","clusterExternalId":"2c91808876dd79120176f758af765c58","debug":"false","failureThreshold":"0","gmtOffset":"-6","scheduleUpgrade":"false","va_version":"va-megapod-useast1-595-1627543540","jobType":"VA_UPGRADE","cookbook":"va-megapod-useast1-595-1627543540"},"connectorServices":[{"id":"540696","name":"EndToEnd-ADSource","connector_host":"host.example.com","connector_port":"389","connector_(boolean)useSSL":false,"connectorFileUploadHistory":null},{"id":"540698","name":"EndToEnd-AzureADSource","connector_host":null,"connector_port":null,"connector_(boolean)useSSL":null,"connectorFileUploadHistory":null},{"id":"540710","name":"EndToEnd-OpenLDAP","connector_host":"10.0.2.64","connector_port":"389","connector_(boolean)useSSL":false,"connectorFileUploadHistory":null},{"id":"540713","name":"Dynamic-ADSource","connector_host":"host.example.com","connector_port":"389","connector_(boolean)useSSL":false,"connectorFileUploadHistory":null},{"id":"540716","name":"EndToEnd-JdbcADSource","connector_host":"10.0.5.187","connector_port":"389","connector_(boolean)useSSL":false,"connectorFileUploadHistory":null},{"id":"540717","name":"EndToEnd-JdbcSource","connector_host":null,"connector_port":null,"connector_(boolean)useSSL":null,"connectorFileUploadHistory":[{"serviceId":"540717","date":"2021-02-05T22:58:15Z","file":"temp7081703651350031905mysql-connector-java-8.0.11.jar"}]}],"jobs":[{"uuid":"872b622f-5ab5-4836-9172-e3bb77f05b2c","cookbook":"872b622f-5ab5-4836-9172-e3bb77f05b2c","state":"FINISHED","type":"VA_UPGRADE","targetId":"1528","managedProcessConfiguration":{"charon":{"version":"345","path":"sailpoint/charon","description":null,"dependencies":null},"ccg":{"version":"415_583_79.0.0","path":"sailpoint/ccg","description":null,"dependencies":null},"toolbox":{"version":"6","path":"sailpoint/toolbox","description":null,"dependencies":null},"fluent":{"version":"50","path":"fluent/va","description":null,"dependencies":null},"va_agent":{"version":"89","path":"sailpoint/va_agent","description":null,"dependencies":null}}}],"queue":{"name":"megapod-useast1-denali-lwt-cluster-1533","region":"us-east-1"},"maintenance":{"window":"true","windowStartTime":"2021-07-29T00:00:00Z","windowClusterTime":"2021-07-29T01:35:24Z","windowFinishTime":"2021-07-29T04:00:00Z"}}}
status of the Managed Client
Possible values: [NORMAL
, UNDEFINED
, NOT_CONFIGURED
, CONFIGURING
, WARNING
, ERROR
, FAILED
]
type of the Managed Client
Possible values: [CCG
, VA
, INTERNAL
, IIQ_HARVESTER
, null
]
CCG
timestamp on the Client Status update
2020-01-01T00:00:00.000000Z
{
"body": {
"body": {
"id": "1528",
"clientId": "1528",
"clusterId": "1533",
"orgType": "test",
"vaDownloadUrl": "https://sptcbu-va-images.s3.amazonaws.com/va-latest.zip",
"clusterJobCount": 1,
"configuration": {
"clusterType": "sqsCluster",
"clusterExternalId": "2c91808876dd79120176f758af765c58",
"debug": "false",
"failureThreshold": "0",
"gmtOffset": "-6",
"scheduleUpgrade": "false",
"va_version": "va-megapod-useast1-595-1627543540",
"jobType": "VA_UPGRADE",
"cookbook": "va-megapod-useast1-595-1627543540"
},
"connectorServices": [
{
"id": "540696",
"name": "EndToEnd-ADSource",
"connector_host": "host.example.com",
"connector_port": "389",
"connector_(boolean)useSSL": false,
"connectorFileUploadHistory": null
},
{
"id": "540698",
"name": "EndToEnd-AzureADSource",
"connector_host": null,
"connector_port": null,
"connector_(boolean)useSSL": null,
"connectorFileUploadHistory": null
},
{
"id": "540710",
"name": "EndToEnd-OpenLDAP",
"connector_host": "10.0.2.64",
"connector_port": "389",
"connector_(boolean)useSSL": false,
"connectorFileUploadHistory": null
},
{
"id": "540713",
"name": "Dynamic-ADSource",
"connector_host": "host.example.com",
"connector_port": "389",
"connector_(boolean)useSSL": false,
"connectorFileUploadHistory": null
},
{
"id": "540716",
"name": "EndToEnd-JdbcADSource",
"connector_host": "10.0.5.187",
"connector_port": "389",
"connector_(boolean)useSSL": false,
"connectorFileUploadHistory": null
},
{
"id": "540717",
"name": "EndToEnd-JdbcSource",
"connector_host": null,
"connector_port": null,
"connector_(boolean)useSSL": null,
"connectorFileUploadHistory": [
{
"serviceId": "540717",
"date": "2021-02-05T22:58:15Z",
"file": "temp7081703651350031905mysql-connector-java-8.0.11.jar"
}
]
}
],
"jobs": [
{
"uuid": "872b622f-5ab5-4836-9172-e3bb77f05b2c",
"cookbook": "872b622f-5ab5-4836-9172-e3bb77f05b2c",
"state": "FINISHED",
"type": "VA_UPGRADE",
"targetId": "1528",
"managedProcessConfiguration": {
"charon": {
"version": "345",
"path": "sailpoint/charon",
"description": null,
"dependencies": null
},
"ccg": {
"version": "415_583_79.0.0",
"path": "sailpoint/ccg",
"description": null,
"dependencies": null
},
"toolbox": {
"version": "6",
"path": "sailpoint/toolbox",
"description": null,
"dependencies": null
},
"fluent": {
"version": "50",
"path": "fluent/va",
"description": null,
"dependencies": null
},
"va_agent": {
"version": "89",
"path": "sailpoint/va_agent",
"description": null,
"dependencies": null
}
}
}
],
"queue": {
"name": "megapod-useast1-denali-lwt-cluster-1533",
"region": "us-east-1"
},
"maintenance": {
"window": "true",
"windowStartTime": "2021-07-29T00:00:00Z",
"windowClusterTime": "2021-07-29T01:35:24Z",
"windowFinishTime": "2021-07-29T04:00:00Z"
}
}
},
"status": "NORMAL",
"type": "CCG",
"timestamp": "2020-01-01T00:00:00.000000Z"
}
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (auto)
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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 (auto)
Schema
A message describing the error
JWT validation failed: JWT is expired
{
"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 (auto)
- 403
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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."
}
]
}
Not Found - returned if the request URL refers to a resource or object that does not exist
- application/json
- Schema
- Example (auto)
- 404
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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 404 response object
{
"detailCode": "404 Not found",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server did not find a current representation for the target resource."
}
]
}
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 (auto)
Schema
A message describing the error
Rate Limit Exceeded
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (auto)
- 500
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"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."
}
]
}
Authorization: oauth2
type: Personal Access Tokenscopes: idn:managed-client-status:manage
- go
- powershellSailPoint SDK
- pythonSailPoint SDK
- csharp
- curl
- dart
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- r
- ruby
- rust
- shell
- swift
- NATIVE
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sailpoint.api.identitynow.com/beta/managed-clients/:id/status"
method := "POST"
payload := strings.NewReader(`{
"body": {
"alertKey": "",
"id": "5678",
"clusterId": "1234",
"ccg_etag": "ccg_etag123xyz456",
"ccg_pin": "NONE",
"cookbook_etag": "20210420125956-20210511144538",
"hostname": "megapod-useast1-secret-hostname.sailpoint.com",
"internal_ip": "127.0.0.1",
"lastSeen": "1620843964604",
"sinceSeen": "14708",
"sinceSeenMillis": "14708",
"localDev": false,
"stacktrace": "",
"state": null,
"status": "NORMAL",
"uuid": null,
"product": "idn",
"va_version": null,
"platform_version": "2",
"os_version": "2345.3.1",
"os_type": "flatcar",
"hypervisor": "unknown"
},
"status": "NORMAL",
"type": "CCG",
"timestamp": "2020-01-01T00:00:00.000000Z"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Accept", "application/json")
req.Header.Add("Authorization", "Bearer <TOKEN>")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}