v16

OpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-04-0886158866.0 KB
Client Management

Update Client Secret

Update the client secret of a client.

If you want to have the Authlete server generate a new value of the client secret, use /api/client/secret/refresh API.

post/api/{serviceId}/client/secret/update/{clientIdentifier}

Path parameters

serviceIdstring required

A service ID.

clientIdentifierstring required

The client ID or the client ID alias of a client.

Request body

clientSecretstring required

The new value of the client secret. Valid characters for a client secret are A-Z, a-z, 0-9, -, and _. The maximum length of a client secret is 86.

Response

resultCodestring

The code which represents the result of the API call.

resultMessagestring

A short message which explains the result of the API call.

newClientSecretstring

The new client secret.

oldClientSecretstring

The old client secret.