Modifies OAuth2 application configuration such as name, description, and redirect URIs. Does not rotate credentials.
curl --request PATCH \
--url https://api.fluxer.app/v1/oauth2/applications/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true
}
'{
"id": "<string>",
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true,
"client_secret": "<string>",
"bot": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"bio": "<string>",
"flags": 1073741823,
"avatar": "<string>",
"banner": "<string>",
"token": "<string>",
"mfa_enabled": true,
"authenticator_types": [
0
]
}
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The id
Success
The unique identifier of the application
The name of the application
The registered redirect URIs for OAuth2
20Whether the bot can be invited by anyone
Whether the bot requires OAuth2 code grant
The client secret for OAuth2 authentication
Detailed bot user metadata
Show child attributes
curl --request PATCH \
--url https://api.fluxer.app/v1/oauth2/applications/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true
}
'{
"id": "<string>",
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true,
"client_secret": "<string>",
"bot": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"bio": "<string>",
"flags": 1073741823,
"avatar": "<string>",
"banner": "<string>",
"token": "<string>",
"mfa_enabled": true,
"authenticator_types": [
0
]
}
}