Skip to main content
Browse Documentation
HTTP - Management

Unpublish an entry

Created by Contensis product team, last updated 18 Jul 2020

Unpublishing an entry stops the entry from being returned in the Delivery API, removing it from your website.

An entry can be unpublished by invoking the sysUnpublish workflow event.

POST/api/management/projects/{projectId}/entries/{entryId}/workflow/events

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
entryIdquerystringuuidThe entry identifier as a 128 bit GUIDtrue
triggerbodyobjectworkflow triggerDetails to invoke the workflow event. You can target a language variation by specifying the languagetrue

Example

POST: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/workflow/events

{
    "language": "en-GB",
    "event": "sysUnpublish"
}

Responses

HTTP status codeReasonModel
200SuccessEntry
401UnauthorizedError
404Project not foundError
404Entry not foundError
422Validation errorError
500Internal server errorError