HTTP - Management
Removed from your favourites
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
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | true | |
entryId | query | string | uuid | The entry identifier as a 128 bit GUID | true | |
trigger | body | object | workflow trigger | Details to invoke the workflow event. You can target a language variation by specifying the language | true |
Example
HTTP
POST: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/workflow/events
{
"language": "en-GB",
"event": "sysUnpublish"
}