Update a client
PUT/settings/clients/:clientId
Replaces the editable settings of a client: its clientAlias, enabled status, and scopes.
All three must be supplied. A full client representation (such as a GET response) may be sent,
but only those three fields are applied; clientId and tenantId, if present, must match the
existing client, and all other fields are immutable.
scopes must be a subset of the scopes available via GET /settings/clients/options.
In production, a disabled client can only be enabled if its organisation has been approved.
You must be an admin of the owning organisation. A management client may update ordinary
clients in its organisation, but not itself or any other management client.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Client updated
Invalid payload, a scope is not grantable to clients, or clientId/tenantId do not match the existing client
Missing or invalid bearer token
You are a member of the owning organisation but not an admin, or the organisation is not approved to enable a production client
Client not found, or you do not have access to it