---
title: "Delete a custom attribute for a project"
method: DELETE
path: "/api/v4/projects/{id}/custom_attributes/{key}"
tags: ["custom_attributes"]
---

# Delete a custom attribute for a project

`DELETE /api/v4/projects/{id}/custom_attributes/{key}`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/custom_attributes/{key}`
- Auth: none declared

Deletes a specified custom attribute for a project.

## Path parameters

- `key` string, required
- `id` integer, required

## Response `204`

Delete a custom attribute for a project

---

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