User

get all users

get

This can only be done by a logged in user who has the required privileges.

Query parameters
metabooleanOptional

Set to true to receive response in data/meta format

Responses
200

List all users

application/json
get
/api/users
GET /api/users HTTP/1.1
Host: 
Accept: */*
200

List all users

[
  {
    "id": "text",
    "username": "text",
    "firstname": "text",
    "lastname": "text",
    "status": "ACTIVE",
    "tenant": "text",
    "roles": [
      {
        "id": "text",
        "name": "text",
        "permissions": [
          "all"
        ],
        "scope": "text",
        "createdAt": "text",
        "updatedAt": "text",
        "isGlobal": true,
        "description": "text"
      }
    ],
    "permissions": [
      "all"
    ],
    "confirmed": true,
    "img": "text"
  }
]

get a user by id

get

This can only be done by a logged in user who has the required privileges.

Path parameters
idstringRequired

ID of user to use

Responses
200

User data

application/json
get
/api/users/{id}
GET /api/users/{id} HTTP/1.1
Host: 
Accept: */*
200

User data

{
  "id": "text",
  "username": "text",
  "firstname": "text",
  "lastname": "text",
  "status": "ACTIVE",
  "tenant": "text",
  "roles": [
    {
      "id": "text",
      "name": "text",
      "permissions": [
        "all"
      ],
      "scope": "text",
      "createdAt": "text",
      "updatedAt": "text",
      "isGlobal": true,
      "description": "text"
    }
  ],
  "permissions": [
    "all"
  ],
  "confirmed": true,
  "img": "text"
}