GET
/
tenants
/
{tenantId}
/
members
curl --request GET \
  --url https://api.pxyz.dev/api/v0/tenants/{tenantId}/members
{
  "status": "success",
  "data": [
    {
      "id": "<string>",
      "tenantId": "<string>",
      "userId": "<string>",
      "user": {
        "id": "<string>",
        "emailAddresses": [
          {
            "id": "<string>",
            "email": "jsmith@example.com",
            "verifiedAt": "2023-11-07T05:31:56Z"
          }
        ],
        "primaryEmailId": "<string>",
        "name": "<string>"
      },
      "roleAdmin": true,
      "roleEditOrganizations": true,
      "roleEditUsers": true,
      "roleEditConfig": true,
      "roleViewUsers": true,
      "roleViewOrganizations": true,
      "roleViewConfig": true,
      "roleViewBilling": true,
      "roleEditBilling": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "total": 123,
    "count": 123,
    "numPages": 123,
    "perPage": 123,
    "prev": "2023-11-07T05:31:56Z",
    "next": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

tenantId
string
required

Query Parameters

cursor
string
perPage
string

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
data
object[]
required
meta
object
required