Discord

Delete a Discord guild role

Changed on

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.

delete/v1/discord/guilds/{guildId}/roles/{roleId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/discord/guilds/{guildId}/roles/{roleId}
  • Auth: HTTP bearer

Path parameters

guildIdstring required

Discord guild snowflake ID

roleIdstring required

Discord role snowflake ID

Query parameters

accountIdstring required

SocialAccount _id of the Discord account bound to this guild

Response

Role deleted.

successboolean

Changes

    • warning

      added the new account enum value to the / response property for the response 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

      added the optional property to the response with the status