Endpoint URL: {registrationDomain} /clients/delete
Description
Deletes an API client. Only an owner client may call the /clients/delete endpoint.
Respects the API Client Allow List: Yes
API Client Permissions
The following table indicates the API clients that can (and the API clients that can't) be used to call this endpoint:
owner | access_issuer | direct_access | direct_read_access | login_client |
Yes | No | No | No | No |
Authentication
This endpoint supports Basic authentication.
How to Create an Authentication String
Base URL
The base URL for this endpoint is your Identity Cloud Capture domain; for example:
https://educationcenter.us-
Your Capture domains (also known as Registration domains) can be found in the Console on the Manage Application page:
Examples
Example
This command deletes the API client with the ID 67890fghij67890fghij.
curl -X POST \ -H "Authorization: Basic
c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg=" \ --data-urlencode client_id_for_deletion=67890fghij67890fghij \ https://my-app.janraincapture.com/clients/delete
Running this command in Postman
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
client_id_for_deletion | string | Yes | The ID of the client to delete. |
Responses
200 OK
Example Error Response
{
"argument_name": "client_id_for_deletion",
"request_id": "cepqfrsvtyqmyxf8",
"code": 200,
"error_description": "client_id_for_deletion was not valid for the
following reason: client_id_for_deletion is not a valid id",
"error": "invalid_argument",
"stat": "error"
}
Response Example (application/json)
{
"stat": "ok"
}