Remove from Discord
/api/discord/members/{id}/kickRemove one person from the Discord server without banning them. The address names their Discord id; reason goes to Discord's audit log with your account's name. One request, never retried. Once Discord accepts, the audit log records who asked. changed is false when they were not in the server. Never the bot's own account, the server's owner or a Discord account linked to a Modbot staff account: those answer 403 refused.
Needs the DiscordKick permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
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
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/discord/members/string/kick"{ "changed": true}Unban on Discord DELETE
Lift one person's Discord ban. The address names their Discord id; `reason` goes to Discord's audit log with your account's name. One request, never retried. Once Discord accepts, the audit log records who asked. `changed` is false when they were not banned. Never the bot's own account, the server's owner or a Discord account linked to a Modbot staff account: those answer 403 `refused`. Needs the `DiscordUnban` permission.
Time out on Discord POST
Time one member of the Discord server out for `minutes` (1 to 40320, which is 28 days); a member already timed out gets the new length. The address names their Discord id; `reason` goes to Discord's audit log with your account's name. One request, never retried. Once Discord accepts, the audit log records who asked. Never the bot's own account, the server's owner or a Discord account linked to a Modbot staff account: those answer 403 `refused`. Needs the `DiscordTimeOut` permission.