clerk.update_oauth_application
Update an OAuth application in a connected Clerk application.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the updated OAuth application summary.
Cost = 8 tokens.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"oauth_application_id": "<oauth_application_id>"
},
"name": "clerk.update_oauth_application"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the OAuth application. | |
| public | No | Whether this is a public OAuth client (no client secret; PKCE-capable). | |
| scopes | No | Space-delimited scopes (e.g. profile email public_metadata). | |
| redirect_uris | No | Replacement list of allowed redirect URIs. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. | |
| oauth_application_id | Yes | Clerk OAuth application id (oa_...) to retrieve, update, or delete. | |
| consent_screen_enabled | No | Whether to show the OAuth consent screen during authorization. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oauth_application | No | Updated Clerk OAuth application summary. |