Update an OAuth client
Changed onUpdates the name, token endpoint authentication method, or public keys of an OAuth client in the specified organization. Omitted fields remain unchanged. Supply publicKeys to replace the configured key set, including when rotating keys. When switching to private_key_jwt, supply the public keys to use for authentication. Private Key JWT must be enabled for your organization.
The response includes the supplied keyId when available. When explicitly switching from private_key_jwt to a client-secret method (basic, post, basic_pkce, or post_pkce), the response can include clientSecret. Save it securely at this point; GET responses do not return it. Other updates return a null clientSecret.
Scopes
OAuth 2.0 scopes required: write:service-accounts-tokens:admin
Request
- Base URLhttps://api.atlassian.com/admin/api-access/v1
- URLhttps://api.atlassian.com/admin/api-access/v1/orgs/{orgId}/oauth-clients/{clientId}
- Authnone declared
Path parameters
The unique identifier of your organization.
The unique identifier of the OAuth client to update.
Request body
Example request
{
"tokenEndpointAuthMethod": "private_key_jwt",
"publicKeys": [
{
"value": "https://auth.example.com/.well-known/jwks.json",
"kid": "client-key-2026-01"
}
]
}Response
Returned if the OAuth client is successfully updated.
Changes
- info
endpoint added
- info