Skip to main content

List roles

Response (200):

Create role

Request body

Validated against RoleSchema from @toolshed/shared.

Response (201)

The response wraps the role object in a created field.

Update role

Request body

Same shape as create — a full Role 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

Returns the effective set of tools a user can access based on their role. Response (200):