# Cancel Order

Cancels a pending order on DIDWW side. It is used to cancel an order that has not yet been completed and is in `pending`
status. It will also remove DID numbers in this order.

## Request

HTTP Method: `DELETE`

URI Path: `/v3/orders/{id}`

### URI Query Parameters

| Name | Type | Is Required? | Description |
| --- | --- | --- | --- |
| id | `string` | Yes | Unique ID identifier of the Order. |

## Example

[[DIDWW-API-EXAMPLE-START]]

http

```
DELETE /v3/orders/1b3ac4b7-315c-4416-afb8-24d8e7c4ec0c HTTP/1.1
Host: api.didww.com
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
Api-Key: [API token]
```

curl

```
curl -i -X DELETE https://api.didww.com/v3/orders/1b3ac4b7-315c-4416-afb8-24d8e7c4ec0c -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
```

response

```
HTTP/1.1 204 No Content
Content-Type: application/vnd.api+json
```

[[DIDWW-API-EXAMPLE-END]]

## Other Responses

| Code | Success | Description |
| --- | --- | --- |
| 404 | No | [Not Found](../../../specification/errors/index.html#api-not-found) |
| 401 | No | [Unauthorized](../../../configuration.html#api-key) |

On this page
