---
title: "Cancel port"
method: POST
path: "/v1/porting/cancel"
tags: ["Owner"]
---

# Cancel port

`POST /v1/porting/cancel`

## Request

- Base URL: `https://api.vicem.ai`
- URL: `https://api.vicem.ai/v1/porting/cancel`
- Auth: HTTP bearer

## Request body

- CancelPortRequest

## Response `200`

OK

- PortingResponse
  - `available` boolean, required
  - `country` 'US' | 'CA', nullable
  - `eligible` boolean, required
  - `request` object, nullable, required
    - `id` string, required
    - `phoneLast4` string, required
    - `status` 'draft' | 'submitted' | 'needs_info' | 'scheduled' | 'completed' | 'cancelled', required
    - `focAt` string, date-time, required
    - `detail` string, nullable, required
    - `createdAt` string, date-time, required
    - `stopped` boolean
    - `switch` object, nullable
      - `opensAt` string, date-time, required
      - `closesAt` string, date-time, required
      - `open` boolean, required
      - `started` boolean, required

## Other responses

- `400`: Invalid request (body not JSON, or schema validation failed).
- `401`: Missing, expired or invalid bearer token.
- `413`: Body over the limit (64 KB; 512 KB for contact import).
- `500`: Unexpected server error (reported to Sentry).

---

[API](https://skmtc.dev/vicem/apis/vicem-api.md) · [All operations](https://skmtc.dev/vicem/apis/vicem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vicem/apis/vicem-api/revisions/9efcec07e5f4?raw)
