POST /connections/{connectionId}/disableClient – Disables a client application for a specific connection.
Headers:
Authorization: Bearer <access_token>
Content-Type: application/json or application/x-www-form-urlencoded
Body:
connectionId
Path Parameters:
Query Parameters:
204 No Content
400
401
404
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
POST /connections/exampleConnectionId/disableClient{ "clientId": "exampleClientId"} Copy
POST /connections/exampleConnectionId/disableClient{ "clientId": "exampleClientId"}
POST /connections/exampleConnectionId/disableClient{ "provider": "cognito-client", "clientId": "exampleClientId",} Copy
POST /connections/exampleConnectionId/disableClient{ "provider": "cognito-client", "clientId": "exampleClientId",}
{} Copy
{}
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
POST /connections/{connectionId}/disableClient – Disables a client application for a specific connection.
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Content-Type: application/json or application/x-www-form-urlencoded(required)Body:
connectionIdis a path parameter (not in body).Path Parameters:
Query Parameters:
📤 Response
204 No Content– Indicates successful disablement of the client.❗ Errors
400401404500Error Response Format
📦 Examples
📥 Auth0 Request
📥 Cognito Request
📤 Response Example