Delete partner
Deletes a partner only when it has no linked customer organizations and no
internal MSP organization. Partners created through v1 normally have an internal
organization, so this operation returns 409 PARTNER_HAS_ORGANIZATIONS until that
organization has been removed outside this endpoint. There is no cascade delete.
Authorization
DistributorApiKey Long-lived distributor API key scoped to a channel partner on the shared smao instance.
In: header
Path Parameters
MongoDB ObjectId of the partner (MSP).
^[a-fA-F0-9]{24}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/partners/665abc123def456789012345"{ "status": "success", "message": "Partner deleted."}Update assigned plan for the partner's own organization PATCH
Changes the plan assigned to the partner's own (MSP) organization — the one referenced by the partner's **organizationId**. The change takes effect immediately: the current subscription (typically the trial the organization was provisioned with) is marked as upgraded and a new active, distributor-billed subscription is created with the selected plan. If the organization is already on the requested plan, no change is made.
List organizations GET
Returns a paginated list of customer organizations across all your partners. Use the optional **partnerId** query parameter to filter by a specific MSP. Use **externalCustomerId** to look up a customer by your own identifier.