Docs
Delete Resource Attribute
DELETE /resource-attributes/{attributeId}
DELETE
/resource-attributes/{attributeId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Organization token | x-Organization-Token | Optional | Run **Authorize Organization** in the Authorization folder. |
Archives the attribute when anything references it (values, modifiers, or live variants pinning one of its options); otherwise deletes it and removes its placements. willArchive on Get Resource Attributes predicts which.
Requires
ResourceTypeDatabase.Edit permission.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| attributeId | Guid | Required | The attribute. |
Response
200 OK with { "archived": true } when archived, false when deleted.
Error Codes
| HTTP Status | Description |
|---|---|
| 404 | Attribute not found. |