> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zixflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Custom Attribute

> This endpoint allows the deletion of a custom attribute.

#### Description

This API endpoint facilitates the removal of a specific custom attribute by providing the necessary identifiers based on the target, whether it's a collection or a list.

#### Path

<ParamField path="target" type="string" required>
  Specifies the target entity as either "collection" or "list."
</ParamField>

<ParamField path="targetId" type="string" required>
  The unique identifier for the target entity (collection or list), allowing for
  precise referencing. (e.g Collection Id / List Id)
</ParamField>

<ParamField path="attributeId" type="string" required>
  The unique identifier for the attribute to be deleted.
</ParamField>

#### Response

<ResponseField name="status" type="boolean">
  Indicates the success or failure of the attribute deletion. In this case, true
  signifies a successful operation.
</ResponseField>

<ResponseField name="message" type="string">
  Provides a human-readable message accompanying the response. In this instance,
  it confirms the successful deletion of the attribute with the message
  "Attribute deleted successfully."
</ResponseField>

<ResponseExample>
  ```json 200-Success theme={null}
  {
    "status": true,
    "message": "Attribute deleted successfully."
  }
  ```

  ```json 401-Unauthorised theme={null}
  {
    "status": false,
    "message": "No token provided"
  }
  ```
</ResponseExample>
