---
title: "Delete a specific attribute"
method: DELETE
path: "/api-offers/attributes/{attributeId}"
tags: ["Attributes"]
---

# Delete a specific attribute

`DELETE /api-offers/attributes/{attributeId}`

## Request

- Base URL: `https://live.copilot.fabric.inc`
- URL: `https://live.copilot.fabric.inc/api-offers/attributes/{attributeId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fabric/apis/offers-v2/docs/api-offers/attributes/:attributeId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a specific attribute by attributeId

## Path parameters

- `attributeId` number, required

## Headers

- `x-site-context` string, required

## Response `200`

OK

- DeleteAttributeResponse
  - `_id` string: A 24-character system-generated attribute ID.
  - `attributeId` number: A unique identifier of the attribute, for external use.
  - `name` string: The attribute name.
  - `values` string[]: The attribute values.
  - `deleted` boolean: A flag indicating the deletion status of the attribute. Set it to `true` to indicate the attribute is deleted and `false` to indicate otherwise.
  - `createdAt` string, date-time: The time of attribute creation, in UTC format.
  - `updatedAt` string, date-time: The time when the attribute was last updated, in UTC format.

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/fabric/apis/offers-v2.md) - [All operations](https://skmtc.dev/fabric/apis/offers-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/fabric/apis/offers-v2/revisions/da2bd742b9bc?raw)
