Skip to content

listUsers

GET
/api/v1/users
curl --request GET \
--url https://example.com/api/v1/users

List dashboard user accounts. Requires the users.manage capability and the admin scope.

User accounts with MFA enrollment state

Media typeapplication/json
object
data
required
object
items
required
Array<object>
object
id
required
string format: uuid
name
required
string
username
required
string
role
required

Role key. The built-in roles are owner, administrator, editor, contributor, and viewer. Custom role keys start with “custom.”. Decide authorization from the capabilities the server reports, not from the role key.

string
/^[a-z][a-z0-9.-]{1,63}$/
active
required
boolean
createdAt
required
string format: date-time
lastLoginAt
string | null format: date-time
mfaEnrolled
required
boolean
mfaRequired
required
boolean
total
required
integer
Example
{
"data": {
"items": [
{
"role": "owner"
}
]
}
}

Dashboard authentication required

Insufficient role