---
title: "Delete a custom attribute"
method: DELETE
path: "/api/v1/ackdb/attributes/{key}"
tags: ["ackDB"]
---

# Delete a custom attribute

`DELETE /api/v1/ackdb/attributes/{key}`

## Request

- Base URL: `http://localhost:3009`
- URL: `http://localhost:3009/api/v1/ackdb/attributes/{key}`
- Auth: HTTP bearer

Custom attributes only. Atomically removes the definition, ALL its value rows, segment-filter references (scrubbed, not bricked), and its label override.

## Path parameters

- `key` string, required

## Response `200`

{ key, deleted, valuesDeleted, scrubbedSegmentCount }.

- object
  - `data` unknown, required

## Other responses

- `403`: ATTRIBUTE_PROTECTED — standard attributes are shipped by ackDB and cannot be deleted.
- `404`: ATTRIBUTE_NOT_FOUND.

---

[API](https://skmtc.dev/floqer/apis/floqer-public-api.md) - [All operations](https://skmtc.dev/floqer/apis/floqer-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/floqer/apis/floqer-public-api/revisions/fce50dc07b20?raw)
