Skip to main content

Handle status request from client

POST 

https://sailpoint.api.identitynow.com/beta/managed-clients/:id/status

deprecated

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 stringrequired

    ID of the Managed Client Status to update

Bodyrequired

    bodyobjectrequired

    ManagedClientStatus body information

    Example: {"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"}
    statusstringrequired

    status of the Managed Client

    Possible values: [NORMAL, UNDEFINED, NOT_CONFIGURED, CONFIGURING, WARNING, ERROR, FAILED]

    typestringnullablerequired

    type of the Managed Client

    Possible values: [CCG, VA, INTERNAL, IIQ_HARVESTER, null]

    Example: CCG
    timestampdate-timerequired

    timestamp on the Client Status update

    Example: 2020-01-01T00:00:00.000000Z

Responses

Responds with the updated Managed Client Status.

Schema
    bodyobjectrequired

    ManagedClientStatus body information

    Example: {"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"}}}
    statusstringrequired

    status of the Managed Client

    Possible values: [NORMAL, UNDEFINED, NOT_CONFIGURED, CONFIGURING, WARNING, ERROR, FAILED]

    typestringnullablerequired

    type of the Managed Client

    Possible values: [CCG, VA, INTERNAL, IIQ_HARVESTER, null]

    Example: CCG
    timestampdate-timerequired

    timestamp on the Client Status update

    Example: 2020-01-01T00:00:00.000000Z

Authorization: oauth2

type: Personal Access Token
scopes: idn:managed-client-status:manage
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))
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/beta
Auth
Parameters
— pathrequired
Body required
{
  "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"
}
ResponseClear

Click the Send API Request button above and see the response here!