curl --request POST \
--url https://api.example.com/v2/partners/{partner_org_id}/orgs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"labra_subscription_id": "<string>",
"users": [
{
"email": "jsmith@example.com",
"role": "user"
}
],
"domain": "<string>",
"primary_address": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"line2": null
},
"aws_marketplace_offer_link": "<string>",
"azure_marketplace_offer_link": "<string>",
"gcp_marketplace_offer_link": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"memberships": [
{
"role": "user",
"username": "jsmith@example.com"
}
],
"domain": "<string>",
"primary_address": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"line2": null
},
"aws_marketplace_offer_link": "<string>",
"azure_marketplace_offer_link": "<string>",
"gcp_marketplace_offer_link": "<string>"
}Registers a new child organization under the channel partner. Creates the organization, sets up user memberships, and establishes the partnership relationship.
curl --request POST \
--url https://api.example.com/v2/partners/{partner_org_id}/orgs \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"labra_subscription_id": "<string>",
"users": [
{
"email": "jsmith@example.com",
"role": "user"
}
],
"domain": "<string>",
"primary_address": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"line2": null
},
"aws_marketplace_offer_link": "<string>",
"azure_marketplace_offer_link": "<string>",
"gcp_marketplace_offer_link": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"memberships": [
{
"role": "user",
"username": "jsmith@example.com"
}
],
"domain": "<string>",
"primary_address": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"line2": null
},
"aws_marketplace_offer_link": "<string>",
"azure_marketplace_offer_link": "<string>",
"gcp_marketplace_offer_link": "<string>"
}Was this page helpful?