DELETE /clients/{clientId} – Deletes a client application by its ID.
Headers:
Authorization: Bearer <access_token>
Content-Type: application/json or application/x-www-form-urlencoded
Body:
clientId
Path Parameters:
Query Parameters:
204 No Content
400
401
404
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
DELETE /clients/exampleClientId{} // provider defaults to "auth0-client" if omitted Copy
DELETE /clients/exampleClientId{} // provider defaults to "auth0-client" if omitted
DELETE /clients/exampleClientId{ "provider": "cognito-client", "userPoolId": "us-east-1_1234test"} Copy
DELETE /clients/exampleClientId{ "provider": "cognito-client", "userPoolId": "us-east-1_1234test"}
{} Copy
{}
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
DELETE /clients/{clientId} – Deletes a client application by its ID.
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Content-Type: application/json or application/x-www-form-urlencoded(required)Body:
clientIdis a path parameter (not in body).Path Parameters:
Query Parameters:
📤 Response
204 No Content– Indicates successful deletion with no content returned.❗ Errors
400401404500Error Response Format
📦 Examples
📥 Auth0 Request
📥 Cognito Request
📤 Response Example