{"templateId":"markdown","versions":[{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/reference/carriers/delete-carrier","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/reference/carriers/delete-carrier","default":false,"active":true,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/reference/carriers/delete-carrier","default":false,"active":false,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Delete a Carrier Connection","keywords":"shipping, labels, shipstation, documentation, api","siteUrl":"https://docs.shipstation.com","lang":"en-US","llmstxt":{"hide":false,"title":"ShipStation API LLM Docs","description":"Find links and references to all markdown documentation for use with LLMs","excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"delete-a-carrier-connection","__idx":0},"children":["Delete a Carrier Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can programmatically delete any carrier you have ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/carriers/connect"},"children":["connected to your ShipStation API account"]}," using the DELETE method with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v1/connections/carriers/"]}," endpoint."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_id"]},". For the latter case, you would delete the carrier from your account and then reconnect it."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requirements","__idx":1},"children":["Requirements"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The unique ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_id"]}," of the connected carrier you wish to delete."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_name"]}," property for that carrier."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/reference/list-carriers"},"children":["list carriers"]}," to find both the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_id"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_name"]}," properties needed. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_id"]}," is especially important if you have multiple accounts for the same carrier."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["IMPORTANT:"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"before-deleting-a-carrier","__idx":2},"children":["Before Deleting a Carrier"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If your carrier requires manifesting, you must ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/reference/create-manifest"},"children":["manifest open shipments"]}," for that carrier ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["before"]}," deleting the connection from your ShipStation API account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If you reconnect a deleted carrier account, the new connection will have a new ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrier_id"]},"."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sample-request--response","__idx":3},"children":["Sample Request & Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DELETE /v1/connections/carriers/:carrier_name/:carrier_id"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"DELETE /v1/connections/carriers/ups/se-123456 HTTP/1.1\nHost: api.shipengine.com\nAPI-Key: __YOUR_API_KEY_HERE__\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When a carrier has been successfully disconnected, you will receive a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HTTP 204, No Content"]}," status."]}]},"headings":[{"value":"Delete a Carrier Connection","id":"delete-a-carrier-connection","depth":1},{"value":"Requirements","id":"requirements","depth":2},{"value":"Before Deleting a Carrier","id":"before-deleting-a-carrier","depth":3},{"value":"Sample Request & Response","id":"sample-request--response","depth":2}],"frontmatter":{"seo":{"title":"Delete a Carrier Connection"}},"lastModified":"2026-04-08T10:47:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipengine/docs/reference/carriers/delete-carrier","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}