Skip to main content
PATCH /api/v2/accounts/{customerId}/membership Updates the membership settings for an account. Requires ADMIN role and a registered customerDomain to enable domain auto-join. Top-level organizations default to enabled and child accounts default to disabled; this operation explicitly overrides that default.

Request

curl

Parameters

Response

Errors

  • 400 VALIDATION_ERRORallowDomainAutoJoin is true but the account has no registered customerDomain.
  • 401 UNAUTHORIZED — missing or invalid bearer token.
  • 403 FORBIDDEN — caller is not an ADMIN on the target account.
See Errors for the full error contract.

Account tasks

All account operations

Get membership

Read access settings

Update account domain

Set the registered domain