Organizations | API & MCP Reference | Archera

API for managing child organizations of a channel partner

/orgs

post/v2/partners/{partner_org_id}/orgs

Registers a new child organization under the channel partner. Creates the organization, sets up user memberships, and establishes the partnership relationship.

Path parameters

Body

{
  "name": "text",
  "labra_subscription_id": "text",
  "users": [
    {
      "email": "name@gmail.com",
      "role": "user"
    }
  ],
  "domain": null,
  "primary_address": {
    "line1": "text",
    "line2": null,
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text"
  },
  "aws_marketplace_offer_link": null,
  "azure_marketplace_offer_link": null,
  "gcp_marketplace_offer_link": null
}

Responses

{
  "id": "text",
  "name": "text",
  "memberships": [
    {
      "role": "user",
      "username": "name@gmail.com"
    }
  ],
  "domain": null,
  "primary_address": {
    "line1": "text",
    "line2": null,
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text"
  },
  "aws_marketplace_offer_link": null,
  "azure_marketplace_offer_link": null,
  "gcp_marketplace_offer_link": null
}

/orgs/{child_org_id}/invites

post/v2/partners/{partner_org_id}/orgs/{child_org_id}/invites

Invites users to the channel partner organization. Sends email invitations to the specified user emails with roles of user, admin, support, cloud_rep, restricted_user.

Path parameters

Body

{
  "users": [
    {
      "email": "name@gmail.com",
      "role": "user"
    }
  ]
}

Responses

{
  "role": "user",
  "username": "name@gmail.com"
}