/
/Phase Two Admin REST API
ChangesDocsSign in
Sign in
  • Docs
  • History
  • Schema
Attributes5
Events13
Identity Providers13
Organization2
Organization Domains1
Organization Invitation6
Organization Memberships7
Organization Roles11
Organization SCIM4
Organizations15
  • get/{realm}/orgsGet organizations
  • post/{realm}/orgsCreate a new organization
  • get/{realm}/orgs/countGet organizations count
  • get/{realm}/orgs/meGet orgs and roles for authenticated user
  • get/{realm}/orgs/me/invitationsGet invitations for authenticated user
  • post/{realm}/orgs/me/invitations/{invitationId}Accept invitation for authenticated user
  • delete/{realm}/orgs/me/invitations/{invitationId}Reject invitation for authenticated user
  • get/{realm}/orgs/exportExport organizations
  • post/{realm}/orgs/importImport organizations
  • get/{realm}/orgs/{orgId}Get organization by id
  • put/{realm}/orgs/{orgId}Update this organization by id
  • delete/{realm}/orgs/{orgId}Delete the organization
  • post/{realm}/orgs/{orgId}/portal-linkCreate a link for the organization's IdP Wizard
  • get/{realm}/orgs/configGet organization configuration
  • put/{realm}/orgs/configUpdate organization configuration
Users7
    Organizations

    Delete the organization

    delete/{realm}/orgs/{orgId}

    Request

    • Base URL: https://app.phasetwo.io/realms
    • URL: https://app.phasetwo.io/realms/{realm}/orgs/{orgId}
    • Auth: HTTP bearer

    Response

    success

    Changes

    No recorded changes to this operation across all 50 revisions of this API.