younifyd
Menu

Unpublish Entry

Unpublish an entry

DELETE/spaces/{spaceId}/environments/{environmentId}/entries/{entryId}/published

Use it in a workflow

  1. Add a step and choose the Contentful connector.
  2. Pick the Unpublish Entry action (under Contentful Content Management API).
  3. Fill in the fields below, then reference the result from later steps as {{unpublishEntry.response.data}}.

Request

Path parameters

spaceIdstringrequired

ID of the space

environmentIdstringrequired

ID of the environment

entryIdstringrequired

ID of the environment

Headers

X-Contentful-Versioninteger (int64)required

The version of the locale to update.

Response

Returns 200 with an object. Read it in later steps with {{unpublishEntry.response.data.<field>}}.

fieldsobject

Content fields with values by locale

sysobject
json
{
  "fields": {},
  "sys": {}
}

Need more? See the Contentful guide for connection setup and behaviour shared by every action.

Was this page helpful?