Docs › API Reference › Billing Service › POST /admin/billing/subscription/{tenant_id}/cancel-trial
POST /admin/billing/subscription/{tenant_id}/cancel-trial
Immediately terminate the free trial period of the current subscription for a specified tenant, changing status to active (converting to formal billing).
Billing Service `bearerAuth` application/json
Request Parameters
Name In Type Required Default Example Constraints Description
tenant_id
path
string
Yes
Tenant ID
Responses
Status Description Schema
200 Trial period cancellation successful dto.TrialActionDetailResponse400 Invalid request parameters object401 Unauthorized object403 No permission object500 Internal server error object
Referenced Schemas
dto.TrialActionDetailResponse
Field Type Required Example Constraints Description
code
integer
No
data
dto.TrialActionResult
No
message
string
No
timestamp
string
No
dto.TrialActionResult
Field Type Required Example Constraints Description
message
string
No
Trial period extended by 14 days
plan
string
No
pro
status
string
No
active
tenant_id
string
No
tnt_xyz789
trial_end_date
string
No
2026-06-01T00:00:00Z