Docs

Delete Resource Attribute

DELETE /resource-attributes/{attributeId}

DELETE/resource-attributes/{attributeId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **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

FieldTypeRequiredDescription
attributeIdGuidRequiredThe attribute.

Response

200 OK with { "archived": true } when archived, false when deleted.

Error Codes

HTTP StatusDescription
404Attribute not found.