Delete a Discord guild role
Permanently deletes a role from the guild and removes it from every member. This cannot be undone.
Requires the bot to hold Manage Roles, and the target role must sit below the bot's highest role.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Discord guild snowflake ID
Discord role snowflake ID
Query parameters
SocialAccount _id of the Discord account bound to this guild
Responses
Success· the request worked
Errors· the request failed
Edit a Discord guild role
Updates a role's name, color, hoist, mentionable flag, or permission bitfield. At least one field must be supplied. Omitted fields are left unchanged. Requires the bot to hold Manage Roles, and the target role must sit below the bot's highest role. See the create-role operation for the re-invite requirement.
List Discord guild members
Cursor-paginated list of guild members. Returns Discord's raw member objects so callers can build community-ops automation (e.g. "add role to all members joined in the last 7 days") on the actual platform shape. Pagination: pass `after` = the last `user.id` from the previous page. Omit on the first call. Response includes a `nextCursor` and `hasMore` flag so callers don't need to know Discord's pagination shape.