GET /api/v2/accounts/{customerId}/membership
Returns the membership access settings for a customer org, including whether domain auto-join is enabled. Requires the ADMIN role.
Request
curl
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
customerId | string | Yes | Path parameter. ID of the customer to read |
Response
| Field | Type | Notes |
|---|---|---|
customerId | integer | Customer ID |
allowDomainAutoJoin | boolean | When true, users with a verified matching-domain email join as members without admin approval. Requires a registered customerDomain |
Errors
401 UNAUTHORIZED— caller is not anADMIN.
Related
Account tasks
All account operations
Update membership
Toggle domain auto-join
Update customer domain
Set the registered domain