PUT
/v2/organizations/{organizationId}/billing/cancel-subscriptionCancel an organization subscription
Cancels an organization's current subscription at the end of its billing period. Use this operation when the organization wants to stop its subscription without ending access immediately.
organizationIdintegerrequired
The integer identifier of the organization whose subscription you want to cancel.
200Confirms that the subscription cancellation was scheduled for the end of the current billing period.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to cancel the organization's subscription.
codestringrequired
paramsarray<object>optional
404Returned when the specified organization does not exist.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, a 401 indicates missing or invalid authentication, a 403 indicates insufficient access, and a 404 indicates the organization was not found. The organizationId path parameter must identify an organization with a subscription the authenticated user can manage.