v1
latestOpenAPI 3.0.12026-07-17310206.9 KBCreates a new role in a specified Discord guild.
This function adds a new role to a specified Discord guild with customizable properties. It allows setting various attributes of the role such as name, color, permissions, and position. The function returns a Promise that resolves to the created role object.
post/createRole
Request body
Response
Successful response