Skip to main content
POST
Suspend client

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

clientPublicId
string<uuid>
obrigatório

Corpo

application/json

Optional body describing why a client workspace is being suspended.

cancellationReason
enum<string>

Structured cancellation reason for analytics/churn tracking.

Opções disponíveis:
customer_request,
payment_failed,
switching_provider,
not_needed,
price,
feature_missing,
other
reason
string

Free-form note explaining the suspension.

Maximum string length: 500
Exemplo:

"Customer requested cancellation pending refund review."

Resposta

OK

createdAt
string<date-time>
creditsBalance
number
creditsUsedThisPeriod
number
currentPeriodEnd
string<date-time>
currentPeriodStart
string<date-time>
extraCreditsBalance
number
nextCreditRenewalAt
string<date-time>
pendingInvitations
object[]
pendingPlan
object
plan
object
publicId
string<uuid>
seatsLimit
integer<int32>
subscriptionStatus
enum<string>
Opções disponíveis:
active,
past_due,
canceled,
trialing,
pending_onboarding,
suspended
unlimitedCredits
boolean
users
object[]
usersCount
integer<int32>
workspaceName
string