API referenceSections

Suspend a customer of this seller; its sites show the suspension page

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/customers/{cid}/suspend

Suspend a customer of this seller; its sites show the suspension page (ADR 0071, 0104)

Permissions: plan.manage on the seller; emits account.suspended.

Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
cidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

Content type: application/json

object
  • reason string optional
    • max length 200
Example
{
  "reason": "string"
}

Responses

204 Suspended

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required