Skip to content

List active shell role grants for a user

GET
/api/users/{user_id}/roles

Return all active (revoked_at IS NULL) shell role grants for user_id in org.

Requires OWNER or ADMIN tenancy role.

Authorizations

Parameters

Path Parameters

user_id
required
string format: uuid

Query Parameters

organization_id
required
string format: uuid

Responses

200

Successful Response

Paginated list of active role grants.

object
items
required
Array<object>
object
total
required
integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string