| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
This API allows you to revoke the active SCIM provisioning token for one or more organizations. Use this API before generating a new token for an organization — an organization can only have one active SCIM token at a time.
Revoking a token immediately deactivates it. Any identity provider configured with that token (such as Microsoft Entra ID) will lose access and must be reconfigured with a new token.
Note: This API processes each organization independently and returns a different HTTP status code depending on the outcome. Check
result.failedfor details on any organizations that failed.
Example request
curl --location --request PUT 'https://{host}/launchpad/api/v1/orgs/scim/tokens/revoke' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'X-CAP-API-AUTH-ORG-ID: <org_id>' \
--data '{
"org_ids": [
1231
]
}'Prerequisites
A valid Bearer token for the organization.
Header information
| Field | Type | Required | Description |
|---|---|---|---|
Content-Type | string | Required | Must be application/json. |
Authorization | string | Required | Bearer token for an Intouch admin user with org owner access. |
X-CAP-API-AUTH-ORG-ID | integer | Required | Org ID of the admin user making the request. |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
org_ids | array of integers | Required | List of organization IDs whose active SCIM tokens should be revoked. Must contain at least one ID. |
Example response
All succeeded (HTTP 200):
{
"success": true,
"metadata": {
"status": 200,
"errorCode": "",
"message": "",
"error": []
},
"result": {
"successful": [1231],
"failed": []
}
}Partial success (HTTP 207):
{
"success": true,
"metadata": {
"status": 207,
"errorCode": "",
"message": "",
"error": []
},
"result": {
"successful": [1231],
"failed": [
{
"org_id": 9999,
"error_code": "2003",
"error_name": "TOKEN_NOT_FOUND",
"details": "No active token found"
}
]
}
}All failed (HTTP 422):
{
"success": false,
"metadata": {
"status": 422,
"errorCode": "",
"message": "",
"error": []
},
"result": {
"successful": [],
"failed": [
{
"org_id": 1231,
"error_code": "2003",
"error_name": "TOKEN_NOT_FOUND",
"details": "No active token found"
}
]
}
}Response parameters
| Field | Type | Description |
|---|---|---|
success | boolean | true if at least one token was revoked. false if all revocations failed. |
metadata.status | integer | HTTP status code. 200 — all succeeded. 207 — partial success. 422 — all failed. |
result.successful | array of integers | Org IDs whose SCIM tokens were successfully revoked. |
result.failed | array | Organizations for which revocation failed. Empty if all organizations succeeded. |
result.failed[].org_id | integer | Org ID that failed. |
result.failed[].error_code | string | Numeric code identifying the failure reason. |
result.failed[].error_name | string | Symbolic name for the error. |
result.failed[].details | string | Human-readable description of why the revocation failed. |
Error codes
| Code | Error number | Type | Description |
|---|---|---|---|
TOKEN_NOT_FOUND | 2003 | Error | No active SCIM token exists for this organization. The token may have already been revoked or was never created. |
DATABASE_ERROR | 2005 | Error | A database error occurred while revoking the token. Retry the request. |
207Partial success — some tokens revoked, some failed.
422All revocations failed — no tokens were revoked.
