Upsert a Destination Node by ID
Updates a Destination Node by ID, or creates a new one with the specified ID if the Destination Node does not exist. Omit X-Contentful-Version to create; send the current version to update.
Include a top-level type field set to DestinationFolderNode, DestinationExperienceNode, or DestinationRedirectNode. Requests without type are rejected. Experience and redirect nodes can be saved as unassigned drafts, but require experience or redirectTo, respectively, before publishing.
Include parent when updating an existing node. Omit it only when creating a node at the Destination root.
To change between folder and experience nodes, send the target type, the current X-Contentful-Version, and a complete body preserving the existing parent and path. The node, its descendants, and any redirects targeting it must be unpublished. Success returns 200 OK with the same ID and sys.version reset to 1. Changes to or from redirect nodes are unsupported. See Changing a node’s type for requirements and client refresh behavior.
For property fields, path validation, and home nodes, see Node properties and paths.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Current version of the resource, taken from sys.version. Omit the header to create a resource with the specified ID; send the current version to update an existing one.
Request
Response
OK - Destination Node updated