/massrole
Add/Remove role(s) from all members of a guild
Guilds with high member counts are subject to rate limits, response will be delayed based off member count.
Endpoint Headers:
bot-token - Token of the Bot [String] (Required)
apikey - Your Api Auth Key [String] (Required)
guild-id - ID of the guild to be fetched [Snowflake] (Required)
channel-id - ID of the channel to send the final response in [Snowflake] (Optional) (See Status 200 for example!)
Endpoint Body Parameters
add - Role(s) to add to members [Array of Snowflakes] (Optional*)
remove - Role(s) to remove from members [Array of Snowflakes] (Optional*)
At least one role is required in either add
or remove.
It is Not Required to have both supplied simultaneously.
Examples:
Possible Responses (Codes)
Last updated