List roles
Create role
Request body
RoleSchema from @toolshed/shared.
Response (201)
The response wraps the role object in a
created field.Update role
| Parameter | In | Required | Description |
|---|---|---|---|
id | path | Yes | Role ID |
Request body
Same shape as create — a fullRole object.
Response (200)
The response wraps the role object in an
updated field. The id is taken from the URL path parameter.Resolve user tools
| Parameter | In | Required | Description |
|---|---|---|---|
userId | query | Yes | User ID |