Autional Autional
API Reference GitHub autional.com →

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

NameInTypeRequiredDefaultExampleConstraintsDescription
tenant_id path string Yes Tenant ID

Responses

StatusDescriptionSchema
200Trial period cancellation successfuldto.TrialActionDetailResponse
400Invalid request parametersobject
401Unauthorizedobject
403No permissionobject
500Internal server errorobject

Referenced Schemas

dto.TrialActionDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.TrialActionResult No
message string No
timestamp string No

dto.TrialActionResult

FieldTypeRequiredExampleConstraintsDescription
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