# Cancel Request

## GET or POST Request <a href="#get-or-post-request" id="get-or-post-request"></a>

{% hint style="info" %}
<https://v1.api19.com/lnp/portability/cancel>
{% endhint %}

Send us a GET or POST request with your key and your order id or one of the numbers from your order id.

<table data-header-hidden><thead><tr><th width="152.09088134765625"></th><th width="136.72723388671875"></th><th></th></tr></thead><tbody><tr><td>Argument</td><td>Required</td><td>Type</td></tr><tr><td>order_id</td><td>no</td><td>order_id</td></tr><tr><td>number</td><td>no</td><td>phone number</td></tr><tr><td>key</td><td>yes</td><td>api key</td></tr></tbody></table>

{% tabs %}
{% tab title="Curl Post" %}

```php
curl -X POST https://v1.api19.com/lnp/portability/cancel \
 -d "order_id=7212" \
 -d "number=3033033033" \
 -d 'key=your-key'
```

{% endtab %}

{% tab title="JSON Response" %}

```php
{"status": "ok"}

OR

{
  "status": "error",
  "message": "invalid order_id",
  "data": null
}
```

{% endtab %}
{% endtabs %}
