Upsert a Channel by ID

Updates a Channel by ID, or creates a new one with the specified ID if the Channel does not exist. Omit X-Contentful-Version to create; send the current version to update.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

organizationIdstringRequired
ID of the organization the Channel belongs to.
channelIdstringRequired
ID of the Channel.

Headers

X-Contentful-VersionstringOptional

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

This endpoint expects an object.
namestringRequired

Human-readable name of the Channel.

descriptionstringRequired
What this Channel is for.
propertieslist of objectsRequired
Properties every linked Destination must supply. Property IDs must be unique within the Channel.
nodePropertieslist of objectsRequired

Properties carried by Destination Nodes. Destination Node property names must be unique, and at most one property of type Path is allowed.

Response

OK - Channel updated

namestring
descriptionstring
propertieslist of objects
nodePropertieslist of objects
sysobject