Content

Unpublish a content item

Unpublishes a content item from its external destinations. Provide publish_record_ids to unpublish only those destinations (returns 200 with the per-destination result); omit the body to unpublish from every destination (usually 204, or 200 when the item was manually marked published). Only content-engine content can be unpublished. Requires the GEO product.

post/org/content/{id}/unpublish

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Path parameters

idstring uuid required

The content item's id.

Request body

publish_record_idsstring[]

The specific publish-record ids to unpublish. Omit to unpublish all destinations.

Response

The targeted unpublish result (per-record or manual-mark path).

unpublished_countinteger required

How many destinations were unpublished.

failuresstring[] nullable required

Human-readable messages for destinations that could not be unpublished; null or empty when every requested destination was unpublished.

Changes

No recorded changes to this operation across all 1 revision of this API.