curl -X GET \
/tenant/accounts \
--header "Authorization: Bearer <token>"{
"data": [
{
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"user": {
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ"
},
"role": "administrator",
"createdAt": "2023-11-07T05:31:56Z",
"deactivated": true
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}Retrieves the collection of Account resources.
curl -X GET \
/tenant/accounts \
--header "Authorization: Bearer <token>"{
"data": [
{
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"user": {
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ"
},
"role": "administrator",
"createdAt": "2023-11-07T05:31:56Z",
"deactivated": true
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}Value for the Authorization header parameter.
The collection page number
The number of items per page
0 <= x <= 100Account collection
Show child attributes
"01F9Z3ZJXZQZJZJZJZJZJZJZJZ"
Show child attributes
administrator, account, read-only "administrator"
Was this page helpful?