Admin MCP — Billing

Enable or disable auto-renewal, whatever the provider

Runs the same handlers as the user-facing endpoint, so the provider call, the local flags and the pending renewal reminders stay consistent. When the host subscription has already lapsed but self-billing still retries the renewal, disabling falls back to the stop-crane and reports the stopped subscriptions in collectionStopped (GEN-1571). 404 only when nothing is live on either side.

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

Path parameters

userIdstring required
Example:user-uuid-here

Headers

x-mcp-api-keystring required

Dedicated MCP automation key (env MCP_API_KEY)

Request body

enableboolean required

true = enable auto-renewal, false = disable it

initiatedBystring

Support agent identity for the audit trail.

reasonstring

Why the change was made.

Example request

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

Changes

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