Skip to main content
POST
/
api
/
public
/
plans
/
cancel

Cancel Plan

Submits a cancellation request for the authenticated customer’s active plan. Depending on operator configuration, cancellation may take effect immediately or at the end of the current billing period.

Authentication

Requires a valid customer bearer token.

Request Body

The request body contains the contract/plan details for the cancellation.
ContractId
number
required
The integer ID of the contract to cancel.

Response

Returns a 200 OK on success.

Examples

Cancel a plan

POST /api/public/plans/cancel
Authorization: Bearer {token}
Content-Type: application/json

{
  "ContractId": 789
}
HTTP/1.1 200 OK

TypeScript Integration

import endpoints from '@/api/endpoints'

await httpClient.post(endpoints.plans.cancel, { ContractId: 789 })