🔒 Security

Add To Whitelist

Adds an entry to the security whitelist

post/api/v1/servers/{server_id}/security/whitelist

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/whitelist
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

whitelist_type'user' | 'role' | 'channel' required
target_idstring required
exempted_systemsstring[]
reasonstring nullable
expires_atstring date-time nullable

Response

Successful Response

successboolean required
dataobject required
messagestring nullable

Changes

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