Revoke SCIM Token

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.failed for 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

FieldTypeRequiredDescription
Content-TypestringRequiredMust be application/json.
AuthorizationstringRequiredBearer token for an Intouch admin user with org owner access.
X-CAP-API-AUTH-ORG-IDintegerRequiredOrg ID of the admin user making the request.

Body parameters

FieldTypeRequiredDescription
org_idsarray of integersRequiredList 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

FieldTypeDescription
successbooleantrue if at least one token was revoked. false if all revocations failed.
metadata.statusintegerHTTP status code. 200 — all succeeded. 207 — partial success. 422 — all failed.
result.successfularray of integersOrg IDs whose SCIM tokens were successfully revoked.
result.failedarrayOrganizations for which revocation failed. Empty if all organizations succeeded.
result.failed[].org_idintegerOrg ID that failed.
result.failed[].error_codestringNumeric code identifying the failure reason.
result.failed[].error_namestringSymbolic name for the error.
result.failed[].detailsstringHuman-readable description of why the revocation failed.

Error codes

CodeError numberTypeDescription
TOKEN_NOT_FOUND2003ErrorNo active SCIM token exists for this organization. The token may have already been revoked or was never created.
DATABASE_ERROR2005ErrorA database error occurred while revoking the token. Retry the request.
Body Params
org_ids
array of integers
required
org_ids*
Headers
string
integer
required
Responses

207

Partial success — some tokens revoked, some failed.

422

All revocations failed — no tokens were revoked.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json