GET
/
server
/
roles
/
{roleId}
Get a specific role
curl --request GET \
  --url https://api.melonly.xyz/api/v1/server/roles/{roleId} \
  --header 'Authorization: <api-key>'
{
  "colour": "<string>",
  "createdAt": 123,
  "extraPermissions": 123,
  "id": "<string>",
  "linkedDiscordRoleId": "<string>",
  "name": "<string>",
  "permissions": "<string>",
  "serverId": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and the API token.

Path Parameters

roleId
string
required

Role ID

Response

200
application/json

successfully retrieved role details

The response is of type object.