PATCH /clients/{clientId} – Updates specific attributes of a client application.
Headers:
Authorization: Bearer <access_token>
Content-Type: application/json or application/x-www-form-urlencoded
Body:
Path Parameters:
Query Parameters:
200 OK
400
401
404
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
PATCH /clients/exampleClientId{ "client": { "callbacks": ["https://new-callback-url.com"], "allowedLogoutUrls": ["https://new-logout-url.com"] }} Copy
PATCH /clients/exampleClientId{ "client": { "callbacks": ["https://new-callback-url.com"], "allowedLogoutUrls": ["https://new-logout-url.com"] }}
PATCH /clients/exampleClientId{ "provider": "cognito-client", "userPoolId": "us-east-1_1234test", "client": { "callbacks": ["https://new-callback-url.com"], "allowedLogoutUrls": ["https://new-logout-url.com"] }} Copy
PATCH /clients/exampleClientId{ "provider": "cognito-client", "userPoolId": "us-east-1_1234test", "client": { "callbacks": ["https://new-callback-url.com"], "allowedLogoutUrls": ["https://new-logout-url.com"] }}
json { "id": "clientId", "name": "string", "secret": "string", "callbacks": ["string"], "allowedLogoutUrls": ["string"], "grantTypes": ["string"], "tokenEndpointAuthMethod": "string", "supportedIdp": ["string"], "description": "string", "webOrigins": ["string"], "appType": "string", "clientMetadata": { "key": "value" }, "disabled": false, "oidcConformant": true, "auth0Id": "string" "callbacks": ["https://new-callback-url.com"], "allowedLogoutUrls": ["https://new-logout-url.com"] // More fields may be present depending on the provider } Copy
json { "id": "clientId", "name": "string", "secret": "string", "callbacks": ["string"], "allowedLogoutUrls": ["string"], "grantTypes": ["string"], "tokenEndpointAuthMethod": "string", "supportedIdp": ["string"], "description": "string", "webOrigins": ["string"], "appType": "string", "clientMetadata": { "key": "value" }, "disabled": false, "oidcConformant": true, "auth0Id": "string" "callbacks": ["https://new-callback-url.com"], "allowedLogoutUrls": ["https://new-logout-url.com"] // More fields may be present depending on the provider }
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
PATCH /clients/{clientId} – Updates specific attributes of a client application.
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Content-Type: application/json or application/x-www-form-urlencoded(required)Body:
Path Parameters:
Query Parameters:
📤 Response
200 OK– Returns the updated client Client.❗ Errors
400401404500Error Response Format
📦 Examples
📥 Auth0 Request
📥 Cognito Request
📤 Response Example