v13

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-04237161688.6 KB
OAuth Applications

Rotate the client secret of the given OAuth application

Rotates the OAuth application's client secret. When the client secret is rotated, make sure to update it in authorized OAuth clients.

post/oauth_applications/{oauth_application_id}/rotate_secret

Path parameters

oauth_application_idstring required

The ID of the OAuth application for which to rotate the client secret

Response

An OAuth application with client secret

object'oauth_application' required
idstring required
instance_idstring required
namestring required
client_idstring required
client_uristring nullable required
client_image_urlstring nullable required
dynamically_registeredboolean required
consent_screen_enabledboolean required
pkce_requiredboolean required
publicboolean required
scopesstring required
redirect_urisstring[] required
callback_urlstring required

Deprecated: Use redirect_uris instead.

authorize_urlstring required
token_fetch_urlstring required
user_info_urlstring required
discovery_urlstring required
token_introspection_urlstring required
created_atinteger required

Unix timestamp of creation.

updated_atinteger required

Unix timestamp of last update.

client_secretstring

Empty if public client.