Update OAuth application
OAuth
Update OAuth Application
⚠️ SECURITY: Only OWNERS and ADMINS can update OAuth applications. Allows updating name, scopes, redirect URIs, and status. Client ID and secret cannot be changed.
PUT
Update OAuth application
Updates an OAuth application configuration. Only OWNERS and ADMINS can update OAuth applications.
Client ID and secret cannot be changed. Only name, description, redirect URI,
scopes, and status can be updated.
Permissions
Only OWNERS and ADMINS can update OAuth applications.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
clientId | string | Yes | OAuth application client ID |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Application name (max 100 characters) |
description | string | No | Application description (max 500 characters) |
redirectUri | string | No | Redirect URI for OAuth flow |
scopes | array | No | OAuth scopes requested |
isActive | boolean | No | Whether the application is active |
Example Request
Example Response
Common Errors
400 Bad Request
Invalid input data or validation errors.401 Unauthorized
Authentication required.403 Forbidden
Only owners and admins can update OAuth applications.404 Not Found
OAuth application not found with the provided client ID.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Application name
Maximum string length:
100Example:
"My Integration"
Application description
Maximum string length:
500Example:
"Integration for managing organization data"
Redirect URI for OAuth flow
Example:
"https://example.com/callback"
OAuth scopes requested
Example:
["read:organization", "write:organization"]Whether the application is active
Example:
true
Response
Application updated successfully with new configuration.