DELETE
/
v3
/
content?action=bulk
curl --request DELETE \
  --url 'https://api.proposales.com/v3/content?action=bulk' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "variation_ids": [
    123
  ]
}'
{
  "data": {
    "archived_count": 123,
    "product_ids": [
      123
    ],
    "message": "<string>"
  }
}

Use this endpoint to archive multiple content items in a single request. Archived content is not actually deleted from the database, but is hidden from most views and cannot be added to proposals.

Request Body

variation_ids
number[]
required

An array of variation IDs to archive.

{
  "variation_ids": [123, 456, 789]
}

Response

data
object
{
  "data": {
    "archived_count": 3,
    "product_ids": [123, 456, 789],
    "message": "Products archived successfully"
  }
}

To view archived content items, use the List Content endpoint with the include_archived=true query parameter.

To restore archived content items, use the Bulk Restore Content endpoint.