cURL
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>" }
Get a specific role by role ID. Requires authentication.
Type "Bearer" followed by a space and the API token.
Role ID
successfully retrieved role details
The response is of type object.
object