---
title: "Unlink Locations"
method: PUT
path: "/v4/ShippingAccounts/{carrierCode}/{shippingAccountId}/unlinkLocations"
tags: ["Shipping Accounts"]
---

# Unlink Locations

`PUT /v4/ShippingAccounts/{carrierCode}/{shippingAccountId}/unlinkLocations`

Unlink one or more shipping location from a specific carrier shipping account.

## Path parameters

- `carrierCode` string, required
- `shippingAccountId` string, required

## Request body

- ShippingLocationIdRequest[]
  - `ShippingLocationId` string, required — A unique identifier for the shipping location assigned by the system or by you (alias), allowing users to reference and manage specific locations effectively. <br /> <br />***Note:** The information provided in this field and the **ShippingAccountId** field are being linked with each other.*

## Response `200`

The location(s) have been unlinked from the shipping account successfully.

## Other responses

- `400` — Invalid request response.
- `401` — Unauthorized
- `403` — Forbidden
- `404` — The shipping account or location was not found.
- `500` — Internal Server Error

---

[API](https://skmtc.dev/intersoftsapient/apis/sapient-core-api.md) · [All operations](https://skmtc.dev/intersoftsapient/apis/sapient-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intersoftsapient/sapient-core-api/revisions/3315ad0b5875/schema)
