Skip to content

Remove an organization's plan override

The platform_billing.plan_override.remove operation: DELETE /api/v1/platform/organizations/{orgId}/plan_override in the REST API and the platform_billing_plan_override_remove tool in the MCP server.

DELETE/api/v1/platform/organizations/{orgId}/plan_override

Ends a platform admin's plan override (platform_billing.plan_override.set): the organization gets the entitlements of the plan it pays for again, at once. Removing an organization without an override changes nothing. Platform admins only; the reason is recorded in the organization's audit log.

At a glance

  • REST: DELETE /api/v1/platform/organizations/{orgId}/plan_override
  • MCP tool: platform_billing_plan_override_remove
  • Operation ID: platform_billing.plan_override.remove
  • Scope: Platform
  • Permission: platform:admin
  • Risk tier: security
  • Dry run: Supported (send Ownrecord-Dry-Run: true)
  • Idempotency: Idempotency-Key optional
  • Modes: Test and live
  • Authentication: API key with the platform:admin scope
  • Fresh sign-in: In the console, a sign-in within the last 15 minutes
  • Since: M13

Request

Path parameters

FieldTypeDescription
orgIdorg_… IDThe organization (org_…).

Body

A JSON object (Content-Type: application/json):

FieldTypeRequiredDescription
reasonstringYesWhy, for the audit log.

Response

200 OK with a JSON object:

FieldTypeDescription
object"platform_plan_override"
orgIdstring
overrideobject or null

Examples

End a pilot's override

HTTP
DELETE /api/v1/platform/organizations/org_01jbz3m4k5n6p7q8r9s0t1v2w3/plan_override
Authorization: Bearer or_test_…
Content-Type: application/json

{
  "reason": "The pilot ended; the customer subscribed to Growth"
}

Response (200):

JSON
{
  "object": "platform_plan_override",
  "orgId": "org_01jbz3m4k5n6p7q8r9s0t1v2w3",
  "override": null
}

Errors

CodeHTTP statusWhenWhat to do
fresh_auth_required403Your last sign-in is older than 15 minutes: sign in again first.Sign in again, then repeat the action within 15 minutes.
validation_failed400The organization ID or the reason is missing or malformed.Fix the fields listed in details.issues and send the request again.
resource_not_found404There is no such organization.Check the ID and that your credentials are scoped to the right organization, entity, brand and mode.
version_conflict409The organization changed at the same time; retry.Fetch the object again and retry the change.
permission_denied403Only a platform_admin overrides an organization's plan.Ask an organization owner or admin for a role or scope that allows this action.

It can also return these common errors: api_version_unsupported, invalid_json, unsupported_media_type, authentication_required, api_key_invalid, idempotency_key_reused, idempotency_in_progress, rate_limited, internal_error.