---
title: "Delete group on portfolio account"
method: DELETE
path: "/portfolio/accounts/{accountId}/groups/{id}"
tags: ["Portfolio Groups"]
---

# Delete group on portfolio account

`DELETE /portfolio/accounts/{accountId}/groups/{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}/groups/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/eliq/apis/eliq-data-management-api/docs/portfolio/accounts/:accountId/groups/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Not allowed to delete groups created in portfolio api by portfolio user

## Path parameters

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

## Response `204`

Portfolio group was deleted

## Other responses

- `400`: Bad request. See error code and description for more info
- `403`: Group created by Portfolio user cannot be deleted from this Api
- `404`: Portfolio group or account 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/022af911e0d0?raw)
