Admin MCP — Billing

End the subscription now, whatever the provider

Stops future charges at whichever provider holds the schedule AND cuts app access immediately — no waiting for the paid period to lapse. No money moves: pair it with a refund when the customer is getting paid back. providerError means the provider call failed; access was still revoked.

post/admin/mcp/billing/users/{userId}/suspend

Path parameters

userIdstring required
Example:user-uuid-here

Headers

x-mcp-api-keystring required

Dedicated MCP automation key (env MCP_API_KEY)

Request body

initiatedBystring

Support agent identity for the audit trail.

reasonstring

Why the subscription was ended on the spot.

Example request

{
  "initiatedBy": "agent@genai-apps.com",
  "reason": "chargeback_threat"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.