---
title: "Deleting an attribute"
method: DELETE
path: "/attributes/{id}"
tags: ["Attributes"]
---

# Deleting an attribute

`DELETE /attributes/{id}`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/attributes/{id}`
- Auth: HTTP bearer

Delete an attribute by id, including all of its applications. 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

To use this endpoint, select **Write Attributes** under the Setup & Administration category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

## Path parameters

- `id` string, required

## Query parameters

- `entityType` 'driver' | 'asset' | 'workOrder', required

## Response `204`

A successful DELETE response is a 204 with no content.

- string: A successful DELETE response is a 204 with no content.

## Other responses

- `default`: Error response

---

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