Docs

Leave Parent Organization

Stop being a child organization. Your parent's keys lose access at once, and the parent is told.

POST

Path

Path parameters
stringrequired

The company's id: your key's own (from Who Am I?), or the one X-Company-Id names.

Headers

Optional headers
string

Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Response fields

idstring

Unique id of the company.

namestring

The company's name.

descriptionstring

The company's description.

timezonestring

The company's timezone key, an abbreviation such as EDT or PST rather than an IANA zone name.

regionstring

Where the company keeps its data: us-west-1 (United States), eu-north-1 (European Union) or sa-east-1 (Brazil).

  • us-west-1
  • eu-north-1
  • sa-east-1
isPersonalboolean

True for personal workspaces rather than team companies.

logostring

The company's logo URL.

parentobject

The parent organization, or null when the company has none. Its API keys can act in this company.

  • idstring

    The parent's company id.

  • namestring

    The parent's name.

  • originstring

    created when the parent created this company, linked when this company accepted the parent.

    • created
    • linked
  • linkedOndate

    When the link started.

memberCountnumber

Members of the company, including people whose invite is pending.

roleCountnumber

Roles you can assign: the built-in roles plus your custom roles (List Roles).

domainDiscoveryobject

Whether people who sign up with an email at one of these domains can find and join the company.

  • isEnabledboolean

    True when domain discovery is on.

  • domainsarray

    The email domains it applies to.

embeddedobject

MindCloud Embedded for the company.

  • isEnabledboolean

    True when Embedded is enabled, so end users can connect their own accounts.

isDeletedboolean

True after the company was deleted.

createdOndate

When the company was created.

updatedOndate

When it was last changed.