Appearance
List backend-admin tenant accounts ​
Returns one row per tenant. Requires a backend-admin session.
Request preparation ​
Send a GET request to /admin/api/accounts on the appropriate server. Check the API overview for base URL guidance and the server information in the interactive reference. Replace path placeholders with identifiers from the intended account or site; a similarly named record in another workspace is not interchangeable.
The declared request parameters are:
status(query, optional): Use the type and constraints shown in the parameter reference.page(query, optional): Use the type and constraints shown in the parameter reference.
No request body is declared in the current specification. Check the route and any documented parameters before sending the request rather than adding an arbitrary JSON payload.
Authentication and scope ​
The specification lists these security alternatives: AdminSession. Read any operation-specific restrictions as well: browser-session, account-role, and signed-user requirements may impose additional conditions. See authentication before choosing a credential.
Keep credentials in the appropriate private configuration and remove secrets from shared logs. Confirm the target resource belongs to the intended workflow before issuing a request. Authentication alone should not be treated as confirmation that a supplied account, site, or customer identifier is correct.
Response handling ​
The documented responses for List backend-admin tenant accounts are:
- 200: Paginated tenant accounts
- 403: Backend-admin session required
- 500: Failed to list accounts
Begin with a known record or a narrow query and inspect the returned fields before displaying them to users. Where the operation defines pagination, follow those parameters to retrieve additional results. An empty successful response is different from a failed request; keep errors visible to the calling workflow instead of presenting them as an empty data set.
If a connection fails after submission, investigate the current server state before repeating an action whose outcome is uncertain. When requesting support, retain the method, route, response status, and sanitized error message. The interactive reference below provides the detailed schemas and examples for this specific operation.
List backend-admin tenant accounts​
GET
/admin/api/accounts
Returns one row per tenant. Requires a backend-admin session.
Authorizations​
AdminSession
Authenticated backend-admin session cookie.
Type
API Key (cookie: connect.sid)
Parameters​
Query Parameters
status
Type
string
Valid values
"active""inactive"Default
"active"page
Type
integer
Minimum
1Default
1Responses​
Paginated tenant accounts
application/json
JSON"accounts": [],"total": 0,"page": 0,"pages": 0,"status": "string"
{
 Â
 Â
 Â
 Â
 Â
 Â
}