---
title: "Remove location from portfolio account"
method: DELETE
path: "/portfolio/accounts/{accountId}/locations/{id}"
tags: ["Portfolio Locations"]
---

# Remove location from portfolio account

`DELETE /portfolio/accounts/{accountId}/locations/{id}`

## Request

- Base URL: `https://eliq.data-management-api.eliq.com` (the document declares no server; this is the origin it was published from)
- URL: `https://eliq.data-management-api.eliq.com/portfolio/accounts/{accountId}/locations/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/eliq/apis/eliq-data-management-api/docs/portfolio/accounts/:accountId/locations/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountId` string, required
- `id` string, required

## Response `204`

Portfolio location was deleted

## Other responses

- `400`: Bad request. See error code and description for more info
- `404`: Portfolio location was not found

---

[API](https://skmtc.dev/eliq/apis/eliq-data-management-api.md) - [All operations](https://skmtc.dev/eliq/apis/eliq-data-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/eliq/apis/eliq-data-management-api/revisions/bb41f29473c5?raw)
