PATCH
/
bots
/
{id}
curl --request PATCH \
  --url https://api.vaultcord.com/bots/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "google play",
  "secret": "JFcVvRVdnZb2QRa6DpY3LPwPMTpDi5X6",
  "token": "MTIxODI3MzA5MzI5ODk0NjA0OA.nt02aR.e7Uyh_D3GggylpuFFwbt2E5NR4c-lUoqFrM9fK"
}'
{
  "success": true,
  "message": "Successfully saved settings!"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

ID of the resource

Body

application/json

bot JSON to be updated

The body is of type object.

Response

200
application/json

SUCCESS_MESSAGE

The response is of type object.