Skip to main content

ManagedClients

Use this API to implement managed client functionality. With this functionality in place, administrators can modify and delete existing managed clients, create new ones, and view and make changes to their log configurations.

All URIs are relative to https://sailpoint.api.identitynow.com/beta

MethodHTTP requestDescription
Get-BetaManagedClientStatusGET /managed-clients/{id}/statusSpecified Managed Client Status.
Update-BetaManagedClientStatusPOST /managed-clients/{id}/statusHandle status request from client

get-managed-client-status

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Retrieve Managed Client Status by ID.

API Spec

Parameters

Param TypeNameData TypeRequiredDescription
PathIdStringTrueID of the Managed Client Status to get
QueryTypeManagedClientTypeTrueType of the Managed Client Status to get

Return type

ManagedClientStatus

Responses

CodeDescriptionData Type
200Responds with Managed Client Status having the given ID and Type.ManagedClientStatus
400Client Error - Returned if the request body is invalid.ErrorResponseDto
401Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.ListAccessModelMetadataAttribute401Response
403Forbidden - Returned if the user you are running as, doesn't have access to this end-point.ErrorResponseDto
404Not Found - returned if the request URL refers to a resource or object that does not existErrorResponseDto
429Too 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.ListAccessModelMetadataAttribute429Response
500Internal Server Error - Returned if there is an unexpected error.ErrorResponseDto

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

$Id = "aClientId" # String | ID of the Managed Client Status to get
$Type = "CCG" # ManagedClientType | Type of the Managed Client Status to get

# Specified Managed Client Status.

try {
Get-BetaManagedClientStatus -Id $Id -Type $Type

# Below is a request that includes all optional parameters
# Get-BetaManagedClientStatus -Id $Id -Type $Type
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-BetaManagedClientStatus"
Write-Host $_.ErrorDetails
}

[Back to top]

update-managed-client-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

API Spec

Parameters

Param TypeNameData TypeRequiredDescription
PathIdStringTrueID of the Managed Client Status to update
BodyManagedClientStatusManagedClientStatusTrue

Return type

ManagedClientStatusAggResponse

Responses

CodeDescriptionData Type
200Responds with the updated Managed Client Status.ManagedClientStatusAggResponse
400Client Error - Returned if the request body is invalid.ErrorResponseDto
401Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.ListAccessModelMetadataAttribute401Response
403Forbidden - Returned if the user you are running as, doesn't have access to this end-point.ErrorResponseDto
404Not Found - returned if the request URL refers to a resource or object that does not existErrorResponseDto
429Too 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.ListAccessModelMetadataAttribute429Response
500Internal Server Error - Returned if there is an unexpected error.ErrorResponseDto

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

$Id = "aClientId" # String | ID of the Managed Client Status to update
$ManagedClientStatus = @"{
"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" : "",
"status" : "NORMAL",
"product" : "idn",
"platform_version" : "2",
"os_version" : "2345.3.1",
"os_type" : "flatcar",
"hypervisor" : "unknown"
},
"type" : "CCG",
"status" : "NORMAL",
"timestamp" : "2020-01-01T00:00:00Z"
}"@

# Handle status request from client

try {
$Result = ConvertFrom-JsonToManagedClientStatus -Json $ManagedClientStatus
Update-BetaManagedClientStatus -Id $Id -BetaManagedClientStatus $Result

# Below is a request that includes all optional parameters
# Update-BetaManagedClientStatus -Id $Id -BetaManagedClientStatus $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-BetaManagedClientStatus"
Write-Host $_.ErrorDetails
}

[Back to top]