PATCH
/
servers
/
{id}
curl --request PATCH \
  --url https://api.vaultcord.com/servers/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "google play",
  "botId": 5180,
  "guildid": "1218273540147646535",
  "roleid": "1225834185885876296",
  "channelid": "1260566188124274721",
  "pic": "https://cdn.vaultcord.com/logo.png",
  "font": "Minecraftia",
  "backgroundColor": "#151515",
  "textColor": "#FFF",
  "description": "Please verify to see the rest of our server",
  "githubUrl": "https://github.com/VaultCord",
  "twitterUrl": "https://twitter.com/VaultCord",
  "websiteUrl": "https://vaultcord.com",
  "youtubeUrl": "https://youtube.com/@VaultCord",
  "banner": "https://i.imgur.com/LpttueJ.gif",
  "cursor": "https://i.imgur.com/VdVvG03.png",
  "url": "mylink",
  "minAge": 7,
  "redirectUrl": 30,
  "ipLogging": 0,
  "vpncheck": 0,
  "mobilecheck": 0,
  "altcheck": 0,
  "altban": 0,
  "viewAuthedApps": 0,
  "viewGuilds": 0,
  "viewEmails": 0,
  "blacklist": 0,
  "whitelist": 0,
  "captcha": 0,
  "closeVerify": 0
}'
{
  "success": true,
  "message": "Successfully saved settings!",
  "serverId": 5180
}

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

server JSON to be updated

The body is of type object.

Response

200
application/json

SUCCESS_MESSAGE

The response is of type object.