Update a Service Desk integration​
Update an existing Service Desk integration by ID with updated value in JSON form as the request body. A token with Org Admin or Service Desk Admin authority is required to access this endpoint.
Path Parameters
- id string required
ID of the Service Desk integration to update
- application/json
Request Body required
The specifics of the integration to update
- name string required
Name of the Object
- description string required
Description of the Service Desk integration
- type string required
Default value:
ServiceNowSDIM
Service Desk integration types
- ServiceNowSDIM
- ServiceNow
ownerRef object
Reference to the identity that is the owner of this Service Desk integration
type stringPossible values: [
IDENTITY
]The type of object being referenced
id stringID of the identity
name stringHuman-readable display name of the identity
clusterRef object
Reference to the source cluster for this Service Desk integration
type stringPossible values: [
CLUSTER
]The type of object being referenced
id stringID of the cluster
name stringHuman-readable display name of the cluster
- cluster string deprecated
ID of the cluster for the Service Desk integration (replaced by clusterRef, retained for backward compatibility)
- managedSources string[] deprecated
Source IDs for the Service Desk integration (replaced by provisioningConfig.managedSResourceRefs, but retained here for backward compatibility)
provisioningConfig object
The 'provisioningConfig' property specifies the configuration used to provision integrations.
managedResourceRefs object[]
References to sources for the Service Desk integration template. May only be specified if universalManager is false.
type stringPossible values: [
SOURCE
]The type of object being referenced
id stringID of the source
name stringHuman-readable display name of the source
planInitializerScript object
This is a reference to a plan initializer script.
source stringThis is a Rule that allows provisioning instruction changes.
noProvisioningRequests booleanName of an attribute that when true disables the saving of ProvisioningRequest objects whenever plans are sent through this integration.
provisioningRequestExpiration int32When saving pending requests is enabled, this defines the number of hours the request is allowed to live before it is considered expired and no longer affects plan compilation.
attributes object required
Attributes of the Service Desk integration. Validation constraints enforced by the implementation.
beforeProvisioningRule object
Reference to beforeProvisioningRule for this Service Desk integration
type stringPossible values: [
RULE
]The type of object being referenced
id stringID of the rule
name stringHuman-readable display name of the rule
- 200
- 400
- 401
- 403
- 404
- 429
- 500
ServiceDeskIntegrationDto as updated
- application/json
- Schema
- Example (from schema)
Schema
- id string
System-generated unique ID of the Object
- name string
Name of the Object
- created date-time
Creation date of the Object
- modified date-time
Last modification date of the Object
- description string
Description of the Service Desk integration
- type string
Default value:
ServiceNowSDIM
Service Desk integration types
- ServiceNowSDIM
- ServiceNow
ownerRef object
Reference to the identity that is the owner of this Service Desk integration
type stringPossible values: [
IDENTITY
]The type of object being referenced
id stringID of the identity
name stringHuman-readable display name of the identity
clusterRef object
Reference to the source cluster for this Service Desk integration
type stringPossible values: [
CLUSTER
]The type of object being referenced
id stringID of the cluster
name stringHuman-readable display name of the cluster
- cluster string deprecated
ID of the cluster for the Service Desk integration (replaced by clusterRef, retained for backward compatibility)
- managedSources string[] deprecated
Source IDs for the Service Desk integration (replaced by provisioningConfig.managedSResourceRefs, but retained here for backward compatibility)
provisioningConfig object
The 'provisioningConfig' property specifies the configuration used to provision integrations.
universalManager booleanSpecifies whether this configuration is used to manage provisioning requests for all sources from the org. If true, no managedResourceRefs are allowed.
managedResourceRefs object[]
References to sources for the Service Desk integration template. May only be specified if universalManager is false.
type stringPossible values: [
SOURCE
]The type of object being referenced
id stringID of the source
name stringHuman-readable display name of the source
planInitializerScript object
This is a reference to a plan initializer script.
source stringThis is a Rule that allows provisioning instruction changes.
noProvisioningRequests booleanName of an attribute that when true disables the saving of ProvisioningRequest objects whenever plans are sent through this integration.
provisioningRequestExpiration int32When saving pending requests is enabled, this defines the number of hours the request is allowed to live before it is considered expired and no longer affects plan compilation.
attributes object
Attributes of the Service Desk integration. Validation constraints enforced by the implementation.
beforeProvisioningRule object
Reference to beforeProvisioningRule for this Service Desk integration
type stringPossible values: [
RULE
]The type of object being referenced
id stringID of the rule
name stringHuman-readable display name of the rule
{
"id": "id12345",
"name": "aName",
"created": "2023-01-03T21:16:22.432Z",
"modified": "2023-01-03T21:16:22.432Z",
"description": "A very nice Service Desk integration",
"type": "ServiceNowSDIM",
"ownerRef": {
"type": "IDENTITY",
"id": "2c91808568c529c60168cca6f90c1313",
"name": true
},
"clusterRef": {
"type": true,
"id": true,
"name": true
},
"provisioningConfig": {
"universalManager": true,
"managedResourceRefs": [
{
"type": "SOURCE",
"id": "2c9180855d191c59015d291ceb051111",
"name": "My Source 1"
},
{
"type": "SOURCE",
"id": "2c9180855d191c59015d291ceb052222",
"name": "My Source 2"
}
],
"planInitializerScript": {
"source": "<?xml version='1.0' encoding='UTF-8'?>\\r\\n<!DOCTYPE Rule PUBLIC \\\"sailpoint.dtd\\\" \\\"sailpoint.dtd\\\">\\r\\n<Rule name=\\\"Example Rule\\\" type=\\\"BeforeProvisioning\\\">\\r\\n <Description>Before Provisioning Rule which changes disables and enables to a modify.</Description>\\r\\n <Source><![CDATA[\\r\\nimport sailpoint.object.*;\\r\\nimport sailpoint.object.ProvisioningPlan.AccountRequest;\\r\\nimport sailpoint.object.ProvisioningPlan.AccountRequest.Operation;\\r\\nimport sailpoint.object.ProvisioningPlan.AttributeRequest;\\r\\nimport sailpoint.object.ProvisioningPlan;\\r\\nimport sailpoint.object.ProvisioningPlan.Operation;\\r\\n\\r\\nfor ( AccountRequest accountRequest : plan.getAccountRequests() ) {\\r\\n if ( accountRequest.getOp().equals( ProvisioningPlan.ObjectOperation.Disable ) ) {\\r\\n accountRequest.setOp( ProvisioningPlan.ObjectOperation.Modify );\\r\\n }\\r\\n if ( accountRequest.getOp().equals( ProvisioningPlan.ObjectOperation.Enable ) ) {\\r\\n accountRequest.setOp( ProvisioningPlan.ObjectOperation.Modify );\\r\\n }\\r\\n}\\r\\n\\r\\n ]]></Source>\n"
},
"noProvisioningRequests": true,
"provisioningRequestExpiration": 7
},
"attributes": {
"property": "value",
"key": "value"
},
"beforeProvisioningRule": {
"type": true,
"id": true,
"name": true
}
}
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (from schema)
Schema
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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
- error
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
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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."
}
]
}
Not Found - returned if the request URL refers to a resource or object that does not exist
- application/json
- Schema
- Example (from schema)
- 404
Schema
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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 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 (from schema)
Schema
- message
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
- detailCode string
Fine-grained error code providing more detail of the error.
- trackingId string
Unique tracking id for the error.
messages object[]
Generic localized reason for error
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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
locale stringThe locale for the message text, a BCP 47 language tag.
localeOrigin stringPossible values: [
DEFAULT
,REQUEST
]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.
text stringActual 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."
}
]
}