Delete an OAuth/OIDC client.
DELETE
/api/admin/clients/{id}
Code sample: Shell / cURL
curl --request DELETE \ --url https://auth.example.com/api/admin/clients/example \ --header 'Authorization: Bearer <token>'Delete Client in the Clients area. The operation changes tenant state and should be protected by the documented admin authorization and audit controls.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Header Parameters
Section titled “Header Parameters ” X-Tenant-Id
string
Tenant selector for multi-tenant admin requests.
Responses
Section titled “ Responses ”Successful delete response.
Media type application/json
object
success
required
boolean
message
required
string
key
additional properties
Example
{ "success": true, "message": "User deleted successfully"}