Receive a list of all the users in an organization.
Successful operation.
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X GET \ https://api-prod.surfsight.net/v2/organizations/:orgId/users \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "users": [
- {
- "id": 32,
- "email": "email@email.com",
- "role": "restricted",
- "measurement": 0,
- "timeFormat": 0,
- "groups": [
- {
- "name": "Mordor group",
- "id": 461
}
]
}
]
}