List Users

Prev Next
Get
/v1alpha/users

Returns a list of all users in the workspace.

Security
HTTP
Type bearer
Query parameters
sso_provision
boolean

The provisioning method by which to filter the list of users. Set to true to retrieve a list of the users provisioned through SSO. Alternatively, selecting false will return the users who were provisioned locally.

Responses
200
401
403
default

A successful response.

Collapse all
object
users
Array of object (usersv1alphaUser)
object

The user object

id
string (uuid)

The unique identifier of the user.

Example74e19393-3e94-48d2-8b60-26f2d2665942
email
string (email)

The email address of the user.

Exampleuser@email.com
role_id
string (uuid)

The unique identifier of the role assigned to the user.

Example74e19393-3e94-48d2-8b60-26f2d2665942
status
string
  • STATUS_UNSPECIFIED: Default value. This value is unused.
  • INVITATION_SENT: Invitation email has been sent.
  • VERIFIED: Membership verified.
Valid values[ "STATUS_UNSPECIFIED", "INVITATION_SENT", "VERIFIED" ]
Default"STATUS_UNSPECIFIED"
sso_provision
boolean

If true, the user was provisioned in Torq with the SSO IdP.

ExampleTrue
created_time
string (date-time)

The timestamp when the user was created.

Example2022-03-09T08:40:18Z
last_login_time
string (date-time)

The timestamp when the user last logged in to Torq via the UI or the API.

Example2022-03-09T08:40:18Z