PATCH
/api/v1/bot/roles.phpEdit guild role
Request Body
application/json
{
"server_id": 1001,
"role_id": 5001,
"name": "example",
"color": "string",
"permissions": 1
}Example Request
cURL
curl -X PATCH '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,
"name": "example",
"color": "string",
"permissions": 1
}'Responses
200Successful response400Error response401Error response403Error response404Error response429Error response