/oauth_applications/{oauth_application_id}Update an OAuth application
Updates an existing OAuth application with the properties you provide. Use scopes to replace the application's complete built-in and custom scope ceiling, rather than adding individual scopes. Include required built-in scopes and use custom scope keys from the instance OAuth scope catalog.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
OAuth application properties to update; provide only the fields you want to change.
A 400 is returned when the request is not successful. A 403 is returned when authorization is invalid. A 404 is returned when the OAuth application cannot be found. A 422 is returned when request parameters are invalid. The oauth_application_id path parameter must identify an existing OAuth application. name must not exceed 256 characters; callback_url and scopes must not exceed 1024 characters. Provide scopes as a space-delimited string, include required built-in scopes such as offline_access, and use custom keys from the instance OAuth scope catalog. audience_uri must be an absolute resource URI, and enabling token_exchange_enabled requires an audience URI. Enabling device_authorization_grant_enabled requires the new OAuth IdP and a reachable device verification page.