Role
A role is a set of abilities members have within an organisation. Roles allow permissions to be granted to members of an organisation. Adding a role to a member will grant the member the permissions of that role.
Role Object
| Field | Type | Description |
|---|---|---|
| id | snowflake | the role's id |
| organisation_id | snowflake | the role's organisation id |
| name | string | the role's name (2-20 characters) |
| description | string | a description of the role |
Get Role
GET /roles/{role.id}
Update Role
PATCH /roles/{role.id}
Delete Role
DELETE /roles/{role.id}