v1

latestOpenAPI 3.0.02026-07-26441564.4 KB
Bots

Update bot settings

patch/bots/{id}

Path parameters

idinteger required

ID of the resource

Request body

namestring

Name of the bot

secretstring

Discord OAuth2 secret.

tokenstring

Discord bot/application token

Example request

{
  "name": "google play",
  "secret": "JFcVvRVdnZb2QRa6DpY3LPwPMTpDi5X6",
  "token": "MTIxODI3MzA5MzI5ODk0NjA0OA.nt02aR.e7Uyh_D3GggylpuFFwbt2E5NR4c-lUoqFrM9fK"
}

Response

Successfully updated VaultCord bot configuration

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Successfully saved settings!"
}