Menu
Unpublish Asset
Unpublish an asset
DELETE
/spaces/{spaceId}/environments/{environmentId}/assets/{resourceId}/publishedUse it in a workflow
- Add a step and choose the Contentful connector.
- Pick the Unpublish Asset action (under Contentful Content Management API).
- Fill in the fields below, then reference the result from later steps as
{{unpublishAsset.response.data}}.
Request
Path parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{unpublishAsset.response.data.<field>}}.
{
"fields": {
"description": {},
"file": {},
"title": {}
},
"sys": {}
}
Need more? See the Contentful guide for connection setup and behaviour shared by every action.
Was this page helpful?