Appearance
POST
/developer/clients/{clientId}/_disableRequired scope:
apiclient:updateBlocks authentication for the client without deleting it. Outstanding tokens remain valid until they expire. A client cannot disable itself.
Parameters ​
Path parameters
clientId stringResponse ​
The disabled client.
JSON
{
"clientId": "...",
"name": "...",
"scopes": [
"..."
],
"kind": "...",
"disabled": true,
"createdAt": "2024-08-14T12:34:56.412",
"updatedAt": "2024-08-14T12:34:56.412",
"ownerUserId": "...",
"expiresAt": "2024-08-14T12:34:56.412"
}
| Error code | Description |
|---|---|
auth.api-client.cannot-modify-self | A client cannot modify itself. |
auth.api-client.not-found | No API client was found with the given ID. |
auth.api-client.role-required | A signed-in user must hold the apiclient role. |