GetMemberPermissions

GET /clans/{clanid}/members/{memberid}/permissions/

Return a clan member's permissions Only the clan leader and the clan member can use this endpoint.

Path parameters

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

GET /clans/{clanid}/members/{memberid}/permissions/
curl \
 --request GET 'http://api.example.com/clans/{clanid}/members/{memberid}/permissions/' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "clanid": 42,
  "discordid": "string",
  "request": true,
  "kickmembers": true,
  "walkers": true,
  "bot": true,
  "diplomacy": true
}
Response examples (400)
string
Response examples (401)
string
Response examples (404)
string
Response examples (503)
string