NEXUS / APIBot Platform v2.3
USER-KEY:
Developer Portal
DocsRolesDELETE
DELETE/api/v1/bot/roles.php

Delete guild role

Request Body

application/json
{
    "server_id": 1001,
    "role_id": 5001
}

Example Request

cURL
curl -X DELETE 'https://nexuschatly.com/api/v1/bot/roles.php' \
  -H 'Authorization: Bot nx_bot_...' \
  -H 'Content-Type: application/json' \
  -d '{
    "server_id": 1001,
    "role_id": 5001
}'

Responses

200Successful response
400Error response
401Error response
403Error response
404Error response
429Error response