Update OAuth2 client
Updates client name, redirect URIs, or scopes. Include regenerateSecret: true in the request body to rotate the clientSecret.
Path Parameters
- Type: integerclient
Id requiredID of OAuth2 client
Body
required
application/json
- Type: stringclient
Name Client application name
- Type: stringclient
Secret New client secret
- Type: array string[]redirect
Uris Allowed redirect URIs
- Type: stringscope
Space-delimited scopes per RFC 7591
Responses
- application/json
- application/json
- application/json
- application/json
- 404
OAuth2 client not found
- application/json
Request Example for put/auth/oauth/client/{clientId}
curl https://test.boost.space/api/auth/oauth/client/1 \
--request PUT \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"clientName": "",
"clientSecret": "",
"redirectUris": [
""
],
"scope": ""
}'
{
"id": 42,
"created": "2026-01-15T09:30:00Z",
"createdUserId": 42,
"updated": "2026-01-15T09:30:00Z",
"updatedUserId": 42,
"clientId": "string",
"clientName": "Sample clientName",
"redirectUris": [
"https://acme.boost.space"
],
"scopes": [
"string"
],
"tokenId": 42
}