PUT
/
servers
curl --request PUT \
  --url https://api.vaultcord.com/servers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "google play",
  "botId": 2475,
  "serverId": "1218273540147646535",
  "roleId": "1218273540147646535",
  "pic": "https://cdn.vaultcord.com/logo.png",
  "url": "mylink"
}'
{
  "success": true,
  "message": "Successfully created server!",
  "serverId": 5180
}

Authorizations

Authorization
string
header
required

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

Body

application/json

server JSON to be created

The body is of type object.

Response

200
application/json

SUCCESS_MESSAGE

The response is of type object.