Delete a Discord guild role
Changed onPermanently 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.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/discord/guilds/{guildId}/roles/{roleId}
- Auth: HTTP bearer
Path parameters
Discord guild snowflake ID
Discord role snowflake ID
Query parameters
SocialAccount _id of the Discord account bound to this guild
Response
Role deleted.
Changes
- warning
added the new
accountenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info