Update linking settings
PUT
/api/settings/discord-linkingSave the account linking settings.
Needs the ManageSettings permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/settings/discord-linking" \ -H "Content-Type: application/json" \ -d '{ "clientId": null, "clientSecret": null, "removeClientSecret": true, "promptNewMembers": true, "backupChannelId": null, "linkedRoleId": null, "eighteenPlusRoleId": null }'{ "clientId": null, "clientSecretStored": true, "redirectUrl": null, "inviteUrl": null, "promptNewMembers": true, "backupChannelId": null, "linkedRoleId": null, "eighteenPlusRoleId": null, "available": true}Get linking settings GET
Account linking settings. The client secret is never returned. Needs the `ManageSettings` permission.
Get permission watch settings GET
The channel staff are told in when a Discord role or member gains a dangerous permission, and whether the bot also removes it. Needs the `ManageSettings` permission.