GET
/
users
curl --request GET \
  --url https://use.hoop.dev/api/users
[
  {
    "email": "jsmith@example.com",
    "groups": [
      "sre"
    ],
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "John Wick",
    "password": "password",
    "picture": "",
    "role": "standard",
    "slack_id": "U053ELZHB53",
    "status": "active",
    "verified": true
  }
]

Response

200
application/json
OK
email
string
required

Email address of the user

groups
string[]

Groups registered for this user

Example:
["sre"]
id
string

Unique identifier of the resource

name
string

Display name

Example:

"John Wick"

password
string

Local auth cases have a password

Example:

"password"

picture
string

The profile picture url to display

Example:

""

role
enum<string>

Permission related to the user

  • admin - Has super privileges and has access to any resource in the system
  • standard - Grant access to standard routes.
  • unregistered - Grant access to unregistered routes. It's a transient state where the user is authenticated but is not registered. This state is only available for multi tenant environments
Available options:
admin,
standard,
unregistered
Example:

"standard"

slack_id
string

The identifier of slack to send messages to users

Example:

"U053ELZHB53"

status
enum<string>
default:active

The status of the user. Inactive users cannot access the system

Available options:
active,
inactive,
reviewing,
invited
verified
boolean

DEPRECATED in flavor of role