Appearance
POST
/developer/clients/{clientId}/secretRequired scope:
apiclient:updateReplaces the client's secret. The response contains the new secret — the only time it is shown. A client cannot regenerate its own secret.
Parameters
Path parameters
clientId stringResponse
The new client secret.
JSON
{
"clientId": "...",
"clientSecret": "..."
}
| 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. |