GET
/
api
/
v1
/
organizations
/
{organizationid}
/
users
curl --request GET \
  --url https://app.aegister.com/api/v1/organizations/{organizationid}/users \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": [],
  "total": 20,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "username": "jsmith@example.com",
      "email": "jsmith@example.com",
      "first_name": "John",
      "last_name": "Smith",
      "role": "viewer"
    }
  ]
}

Authorizations

X-Aegister-Token
string
header
required

Path Parameters

organizationid
integer
required

Response

200
application/json
error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Required range: 0 <= x <= 0
Example:

0

messages
any[]

If error is 1, contains zero or more details on the error.

Example:
[]
total
number

Total number of items that meet the list filter.
This doesn't represent the number of items inside the data array.

Required range: x >= 0
Example:

20

data
object[]