---
title: "Cancel-VPS."
method: POST
path: "/kvm/v2/cancel/product"
---

# Cancel-VPS.

`POST /kvm/v2/cancel/product`

## Request

- Base URL: `https://order.edisglobal.com`
- URL: `https://order.edisglobal.com/kvm/v2/cancel/product`
- Auth: none required
- TypeScript: <https://skmtc.dev/edisglobal/apis/edis-global-management-api/docs/kvm/v2/cancel/product/post.ts> (a function with typed inputs; its response is checked against the schema)

To cancel a VPS product, provide either the KVM ID or service ID, along with the type of cancellation you wish to proceed with.

## Request body `application/x-www-form-urlencoded`

- CancelProductBody
  - `email` string: Your WHMCS email address.
  - `pw` string: Your WHMCS password.
  - `kvmid` string: The KVM ID to cancel if the service ID is unknown.
  - `serviceid` string: The service ID to cancel if the KVM ID is unknown.
  - `type` string: The type of cancellation. Either 'Immediate' or 'End of Billing Period'.

## Response `200`

Successfully canceled the product.

- InlineResponse2007
  - `status` string
  - `serviceid` integer
  - `clientid` integer, nullable

## Other responses

- `400`: Bad Request - Invalid parameters or missing fields.
- `401`: Unauthorized - Invalid WHMCS credentials.
- `404`: Not Found - The specified KVM ID or service ID does not exist.

---

[API](https://skmtc.dev/edisglobal/apis/edis-global-management-api.md) - [All operations](https://skmtc.dev/edisglobal/apis/edis-global-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/edisglobal/apis/edis-global-management-api/revisions/223263c91ac0?raw)
