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

# Unlink Locations

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

## Request

- Base URL: `https://api.proshipping.net`
- URL: `https://api.proshipping.net/v4/ShippingAccounts/{carrierCode}/{shippingAccountId}/unlinkLocations`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://authentication.proshipping.net/connect/token`

Remove the association between particular shipping locations 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/proshipping/apis/pro-shipping-core-api.md) - [All operations](https://skmtc.dev/proshipping/apis/pro-shipping-core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/proshipping/apis/pro-shipping-core-api/revisions/565d8a8dc1dc?raw)
