cURL
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!" }
Update bot settings
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the resource
bot JSON to be updated
The body is of type object.
object
SUCCESS_MESSAGE
The response is of type object.
Was this page helpful?