OAuth Clients
Update OAuth client
Changed onUpdate an OAuth client's name, description, redirect_uris, or active status.
patch/admin/oauth-clients/{id}
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/oauth-clients/{id}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token)
Path parameters
idstring required
Record ID of the OAuth client (oac_…), not its public client_id.
Example:oac_6968b39840a935d9f7e2714b
Request body
Example request
{
"active": true,
"allowed_scopes": [
"apis:read",
"capabilities:execute"
],
"description": "Billing assistant production deployment",
"name": "billing-assistant-prod",
"redirect_uris": [
"https://client.example.com/oauth/callback"
],
"require_consent": true
}Response
Successful Response
Example response
{
"active": true,
"active_grant_count": 0,
"allowed_scopes": [
"agents:read",
"credentials:read"
],
"approval_status": "approved",
"client_id": "oc_abc123...",
"consent_model": "user",
"created_at": "2026-08-18T12:00:00Z",
"created_by": "usr_abc123",
"description": "My application production deployment",
"id": "oac_2NxYz...",
"name": "my-app-production",
"redirect_uris": [
"https://app.example.com/auth/callback"
],
"registration_source": "admin",
"require_consent": true,
"software_id": "com.example.my-app",
"token_endpoint_auth_method": "client_secret_basic",
"updated_at": "2026-08-18T12:00:00Z"
}Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info
- info
added the optional property
to the response with the status
- info