POST
/api/integrations/msp/tenants/{id}/subscriptionCreate a subscription for an MSP tenant
Creates a subscription for an MSP tenant. Supply the tenant identifier in the id path parameter and the required priceID to select the subscription price. A 200 response confirms that the subscription was created.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
idstringrequired
The unique identifier of the tenant account for which to create a subscription.
The price to use for the tenant subscription.
priceIDstringrequired
The Price ID to change the subscription to.
200Returns confirmation that a subscription was successfully created for the tenant.
400Returned when the request is invalid.
403Returned when the request is missing valid authentication.
404Returned when the tenant was not found.
500Returned when an internal server error occurs.
Error handling
priceID is required; a 400 is returned when the request is invalid or omits this field. The id path parameter must identify a tenant; a 403 indicates missing or invalid authentication, a 404 indicates that the tenant was not found, and a 500 indicates an internal server error.