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.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Archives the attribute when anything references it (values, modifiers, live variants pinning one of its options, or event advance data); otherwise deletes it and removes its placements. willArchive on Get Resource Attributes predicts which.

Requires EventSettings permission on the event.
Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

Path Parameters

FieldTypeRequiredDescription
attributeIdGuidRequiredThe attribute.

Response

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

Error Codes

HTTP StatusDescription
404Attribute not found.