ReferenceAdmin
Replace the trusted-client list (platform admins)
PUT
/v1/admin/settings/oauth-clients422 invalid_client_id (details.index) when an entry isn't an https URL with a path (Client ID Metadata Document). At most 50 entries. Audited as settings.oauth_clients_update.
Header Parameters
If-Match*string
The resource's revision, as returned in ETag (for example "3"). Missing returns 428; stale returns 412.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/admin/settings/oauth-clients" \ -H "If-Match: string" \ -H "Content-Type: application/json" \ -d '{ "clients": [ { "clientId": "https://claude.ai/oauth/claude-code-client-metadata" } ] }'{ "data": { "clients": [ { "clientId": "https://claude.ai/oauth/claude-code-client-metadata", "label": "Claude Code" } ], "revision": 0, "updatedAt": "2019-08-24T14:15:22Z" }}