Skip to content

Get users

GET
/api/users

Get all users. Admin role is required.

Authorizations

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Responses

All users.

application/json
JSON
[
  
{
  
  
"id": 1,
  
  
"email": "example@gancio.org",
  
  
"description": "Example user",
  
  
"is_active": true,
  
  
"to_notify": true,
  
  
"role": "user",
  
  
"createdAt": "2020-01-29T18:10:16.630Z",
  
  
"updatedAt": "2020-01-30T22:42:14.789Z"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI