📌 Sticky Roles

Create Area

post/api/v1/servers/{server_id}/sticky-roles/areas

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}/sticky-roles/areas
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

Request body

namestring required
descriptionstring nullable
emojistring nullable
colorstring nullable
role_idsstring[]
lock_mode'permanent' | 'cooldown' | 'limited' | 'off'
switch_cooldown_hoursinteger
max_switchesinteger
enforce_scope'self_service' | 'all'
allow_leaveboolean
reset_on_leaveboolean
restore_on_rejoinboolean
bypass_role_idsstring[]
deny_messagestring nullable
is_activeboolean

Response

Successful Response

object required

Changes

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