UsersController_getUsers
GET
/users
const url = 'https://example.com/users';const options = { method: 'GET', headers: {cookie: 'session=<session>', 'x-tenant-schema': 'example'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/users \ --header 'x-tenant-schema: example' \ --cookie session=<session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”x-tenant-schema
required
string
The tenant of the request.
Responses
Section titled “Responses”The users the caller may read.
Media typeapplication/json
object
users
required
Array<object>
object
id
string
email
string
name
string
department
string
Examplegenerated
{ "users": [ { "id": "example", "email": "example", "name": "example", "department": "example" } ]}