LinkClan

POST /bot/clans/{discordid}/

Allows to link the discord server with the clan. This can only be done by clan leaders or anyone with bot permissions.

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
  • 400 application/json

    Bad Request

    Bad Request

  • 401 application/json

    Unauthorized

    Unauthorized

  • 404 application/json

    Not Found

    Not Found

  • 503 application/json

    Service Unavailable

    Service Unavailable

POST /bot/clans/{discordid}/
curl \
 --request POST 'http://api.example.com/bot/clans/{discordid}/?memberid=string' \
 --header "apiKey: $API_KEY"
Response examples (200)
{
  "Success": "string",
  "ClanID": 42,
  "Server Discord ID": "string"
}
Response examples (400)
string
Response examples (401)
string
Response examples (404)
string
Response examples (503)
string