Skip to main content
POST
Grant roles
This route is in preview: it may change without notice until it becomes part of a stable version.

Body

application/json
resource_ids
string<snowflake>[]
required
role_ids
string<snowflake>[]
required
team_ids

If not provided, the role is granted on no team (a bare role assignment).

Available options:
*
Example:

"*"

Response

204

Resource roles granted.