🔒 Security

Add Bot Role

Adds a role to allowed bot roles

post/api/v1/servers/{server_id}/security/bot-protection/roles

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/servers/{server_id}/security/bot-protection/roles
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Query parameters

role_idstring required

Role ID

Response

Successful Response

successboolean required
dataobject required
messagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.