Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Bulk Delete Attribute-Item Relationships

Removes associations between multiple attributes and multiple items in a single operation. Each removal breaks the link between one attribute and one or more items. Returns lists of successful and failed removals with detailed error reasons.

DELETE/api/v1/{team_slug}/{app_slug}/attributes/relationships/bulk
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
team_slugstringrequired

Team slug

app_slugstringrequired

App slug

Request body
requiredapplication/json

Attribute-item relationships to delete (max 50)

itemsinternal_pkg_webserver_v1.BulkAttributeRelationshipItem[]required
max items 50
Show properties
Array of internal_pkg_webserver_v1.BulkAttributeRelationshipItem
attribute_idstringrequired
item_idsstring[] | nullrequired
min items 1
Responses
200

Relationships processed successfully

datainternal_pkg_webserver_v1.BulkRemoveAttributeRelationshipsResponserequired
Show properties
failed_removalsinternal_pkg_webserver_v1.BulkAttributeRelationshipFailedOp[] | null
Show properties
Array of internal_pkg_webserver_v1.BulkAttributeRelationshipFailedOp
attribute_idstring
item_idstring
reasonstring
successful_removalsinternal_pkg_webserver_v1.BulkAttributeRelationshipItem[] | null
Show properties
Array of internal_pkg_webserver_v1.BulkAttributeRelationshipItem
attribute_idstringrequired
item_idsstring[] | nullrequired
min items 1
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request payload

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X DELETE 'https://api.enad.io/api/v1/string/string/attributes/relationships/bulk' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "items": [
    {
      "attribute_id": "string",
      "item_ids": [
        "string"
      ]
    }
  ]
}'
Response
{
  "data": {
    "failed_removals": [
      {
        "attribute_id": "string",
        "item_id": "string",
        "reason": "string"
      }
    ],
    "successful_removals": [
      {
        "attribute_id": "string",
        "item_ids": [
          "string"
        ]
      }
    ]
  },
  "details": [
    "string"
  ],
  "success": true
}