List Users
GET
/api/v1/admin/users
const url = 'https://example.com/api/v1/admin/users';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/api/v1/admin/users \ --header 'Authorization: Bearer <token>'Lists the Users. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/admin/users. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
disabled
required
boolean
display_name
required
string
id
required
string format: uuid
role
required
string
username
required
string
Example
[ { "role": "owner" }]