OAuth2

Update application

Modifies OAuth2 application configuration such as name, description, and redirect URIs. Does not rotate credentials.

patch/oauth2/applications/{id}

Path parameters

idstring required

The id

Request body

namestring

The name of the application

redirect_urisstring[] nullable

The redirect URIs for OAuth2 flows

bot_publicboolean

Whether the bot can be invited by anyone

bot_require_code_grantboolean

Whether the bot requires OAuth2 code grant

Response

Success

idstring required

The unique identifier of the application

namestring required

The name of the application

redirect_urisstring[] required

The registered redirect URIs for OAuth2

bot_publicboolean required

Whether the bot can be invited by anyone

bot_require_code_grantboolean required

Whether the bot requires OAuth2 code grant

client_secretstring

The client secret for OAuth2 authentication

Changes

No recorded changes to this endpoint across all 1 revision of this API.