> This page is for API Reference.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://contentful.com/developers/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/developers/docs/_mcp/server.

# Unpublish a Destination Node

DELETE https://api.contentful.com/spaces/{spaceId}/environments/{environmentId}/destinations/{destinationId}/nodes/{nodeId}/published

Unpublishes a Destination Node and puts it back into draft state.

Reference: https://contentful.com/developers/docs/references/experience-management-api/destinations-management/destinations/destination-nodes/unpublish-destination-node

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `spaceId` (string, required) — ID of the space.
- `environmentId` (string, required) — ID of the environment.
- `destinationId` (string, required) — ID of the Destination.
- `nodeId` (string, required) — ID of the Destination Node.

### Headers

- `X-Contentful-Version` (string, required) — Current version of the resource, taken from `sys.version`. A stale value returns `409 Conflict`.

## Response

### 200

OK - Destination Node unpublished

- `DestinationNode`
  - Destination Folder Node: DestinationFolderNode
  - Destination Experience Node: DestinationExperienceNode
  - Destination Redirect Node: DestinationRedirectNode

## Types

### DestinationFolderNode

A Destination Node that groups other Destination Nodes without serving or redirecting to an experience.

- `parent` (DestinationNodeParent, required) — Parent of this Destination Node. Optional when creating a node; omitting it attaches the node to the Destination root. Required when updating an existing node, including when changing its type.
- `properties` (list of DestinationNodePathProperty, required)
- `sys` (DestinationFolderNodeSys, required)
- `name` (string, optional)

### DestinationExperienceNode

A Destination Node that serves an experience.

- `parent` (DestinationNodeParent, required) — Parent of this Destination Node. Optional when creating a node; omitting it attaches the node to the Destination root. Required when updating an existing node, including when changing its type.
- `properties` (list of DestinationNodePathProperty, required)
- `sys` (DestinationExperienceNodeSys, required)
- `experience` (DestinationExperienceLink, optional) — Resource link to the experience this Destination Node serves.
- `name` (string, optional)

### DestinationRedirectNode

A Destination Node that redirects to another Destination Node in the same Destination.

- `parent` (DestinationNodeParent, required) — Parent of this Destination Node. Optional when creating a node; omitting it attaches the node to the Destination root. Required when updating an existing node, including when changing its type.
- `properties` (list of DestinationNodePathProperty, required)
- `sys` (DestinationRedirectNodeSys, required)
- `name` (string, optional)
- `redirectTo` (DestinationRedirectTarget, optional) — Link to another Destination Node in the same Destination. The target must exist and must not be the redirect node itself.

### DestinationNodeParent

Parent of this Destination Node. Optional when creating a node; omitting it attaches the node to the Destination root. Required when updating an existing node, including when changing its type.

- `sys` (DestinationNodeParentSys, required)

### DestinationNodePathProperty

Routing path supplied for the Channel's `Path` Destination Node property.

- `type` ("Path", required)
- `path` (string, required) — Stored local path segment for this Destination Node. Existing paths remain readable even if they do not meet the current write rules. See [Paths](/developers/docs/references/experience-management-api/destinations-management/destinations/destination-nodes#paths).

### DestinationFolderNodeSys

- `destination` (Link, required) — Link to another Contentful resource.
- `environment` (Link, required) — Link to another Contentful resource.
- `id` (string, required)
- `space` (Link, required) — Link to another Contentful resource.
- `type` ("DestinationFolderNode", required)
- `createdAt` (string, optional) — Date and time the resource was created.
- `createdBy` (Link, optional) — Link to another Contentful resource.
- `firstPublishedAt` (string, optional) — Date and time the resource was published for the first time.
- `publishedAt` (string, optional) — Date and time the resource was last published.
- `publishedBy` (Link, optional) — Link to another Contentful resource.
- `publishedCounter` (integer, optional) — Number of times the resource has been published.
- `publishedVersion` (integer, optional) — Version of the resource that is currently published.
- `updatedAt` (string, optional) — Date and time the resource was last updated.
- `updatedBy` (Link, optional) — Link to another Contentful resource.
- `version` (integer, optional) — Current version of the resource. Send this value as `X-Contentful-Version` when updating, deleting, publishing, or unpublishing.

### DestinationExperienceNodeSys

- `destination` (Link, required) — Link to another Contentful resource.
- `environment` (Link, required) — Link to another Contentful resource.
- `id` (string, required)
- `space` (Link, required) — Link to another Contentful resource.
- `type` ("DestinationExperienceNode", required)
- `createdAt` (string, optional) — Date and time the resource was created.
- `createdBy` (Link, optional) — Link to another Contentful resource.
- `firstPublishedAt` (string, optional) — Date and time the resource was published for the first time.
- `publishedAt` (string, optional) — Date and time the resource was last published.
- `publishedBy` (Link, optional) — Link to another Contentful resource.
- `publishedCounter` (integer, optional) — Number of times the resource has been published.
- `publishedVersion` (integer, optional) — Version of the resource that is currently published.
- `updatedAt` (string, optional) — Date and time the resource was last updated.
- `updatedBy` (Link, optional) — Link to another Contentful resource.
- `version` (integer, optional) — Current version of the resource. Send this value as `X-Contentful-Version` when updating, deleting, publishing, or unpublishing.

### DestinationExperienceLink

Resource link to the experience this Destination Node serves.

- `sys` (DestinationExperienceLinkSys, required)

### DestinationRedirectNodeSys

- `destination` (Link, required) — Link to another Contentful resource.
- `environment` (Link, required) — Link to another Contentful resource.
- `id` (string, required)
- `space` (Link, required) — Link to another Contentful resource.
- `type` ("DestinationRedirectNode", required)
- `createdAt` (string, optional) — Date and time the resource was created.
- `createdBy` (Link, optional) — Link to another Contentful resource.
- `firstPublishedAt` (string, optional) — Date and time the resource was published for the first time.
- `publishedAt` (string, optional) — Date and time the resource was last published.
- `publishedBy` (Link, optional) — Link to another Contentful resource.
- `publishedCounter` (integer, optional) — Number of times the resource has been published.
- `publishedVersion` (integer, optional) — Version of the resource that is currently published.
- `updatedAt` (string, optional) — Date and time the resource was last updated.
- `updatedBy` (Link, optional) — Link to another Contentful resource.
- `version` (integer, optional) — Current version of the resource. Send this value as `X-Contentful-Version` when updating, deleting, publishing, or unpublishing.

### DestinationRedirectTarget

Link to another Destination Node in the same Destination. The target must exist and must not be the redirect node itself.

- `sys` (DestinationRedirectTargetSys, required)

### DestinationNodeParentSys

- `type` ("Link", required)
- `linkType` (enum, required)
  - Allowed values: `Destination`, `DestinationFolderNode`, `DestinationExperienceNode`, `DestinationRedirectNode`
- `id` (string, required)

### Link

Link to another Contentful resource.

- `sys` (LinkSys, required)

### DestinationExperienceLinkSys

- `type` ("ResourceLink", required)
- `linkType` ("Contentful:Experience", required)
- `urn` (string, required) — Contentful Resource Name of the experience.

### DestinationRedirectTargetSys

- `type` ("Link", required)
- `linkType` (enum, required)
  - Allowed values: `DestinationExperienceNode`, `DestinationFolderNode`, `DestinationRedirectNode`
- `id` (string, required)

### LinkSys

- `type` ("Link", required)
- `linkType` (string, required)
- `id` (string, required)

## Examples

**Response**

```json
{
  "name": "name",
  "parent": {
    "sys": {
      "id": "id",
      "linkType": "Destination",
      "type": "Link"
    }
  },
  "properties": [
    {
      "path": "products",
      "type": "Path"
    }
  ],
  "sys": {
    "createdAt": "createdAt",
    "createdBy": {
      "sys": {
        "id": "id",
        "linkType": "linkType",
        "type": "Link"
      }
    },
    "destination": {
      "sys": {
        "id": "id",
        "linkType": "linkType",
        "type": "Link"
      }
    },
    "environment": {
      "sys": {
        "id": "id",
        "linkType": "linkType",
        "type": "Link"
      }
    },
    "firstPublishedAt": "firstPublishedAt",
    "id": "id",
    "publishedAt": "publishedAt",
    "publishedBy": {
      "sys": {
        "id": "id",
        "linkType": "linkType",
        "type": "Link"
      }
    },
    "publishedCounter": 1,
    "publishedVersion": 1,
    "space": {
      "sys": {
        "id": "id",
        "linkType": "linkType",
        "type": "Link"
      }
    },
    "type": "DestinationFolderNode",
    "updatedAt": "updatedAt",
    "updatedBy": {
      "sys": {
        "id": "id",
        "linkType": "linkType",
        "type": "Link"
      }
    },
    "version": 1
  }
}
```