# Disconnect a Carrier

You can programmatically disconnect any carrier you have [connected to your ShipStation API account](/connect-carriers) using the DELETE method with the `/v2/connections/carriers/` endpoint.

You may want to do this if you no longer use the services of the connected carrier account, or if you wish to use the same account but with a different `carrier_id`. For the latter case, you would disconnect the carrier from your account and then reconnect it.

Plan availability
Disconnecting a carrier through the API is available on ShipStation API (ShipEngine) plans only. It is not available to ShipStation accounts.

## Requirements

- The unique `carrier_id` of the connected carrier you wish to disconnect.
- The `carrier_name` for that carrier, such as `ups`, `fedex`, or `dhl_express`.


You can [list carriers](/list-carriers) to find both the `carrier_id` and `carrier_name` you need. The `carrier_id` is especially important if you have multiple accounts for the same carrier.

Before Disconnecting a Carrier
- If your carrier requires manifesting, you must [manifest open shipments](/creating-manifests) for that carrier *before* disconnecting it from your ShipStation API account.
- If you have any previously created labels under this carrier connection that you still wish to void, you must do so prior to disconnecting the carrier account.
- If you reconnect a disconnected carrier account, the new connection will have a new `carrier_id`.


## Example Request & Response

**DELETE /v2/connections/carriers/{carrier_name}/{carrier_id}**

See the [Disconnect a carrier](/apis/openapi/connections/disconnect_carrier) API reference for the full endpoint details.

When a carrier has been successfully disconnected, you will receive an **HTTP 204 No Content** status.