Menu
Update Content Item By Id
Update a content item by ID
PUT
/v2/projects/{environment_id}/items/{item_id}Use it in a workflow
- Add a step and choose the Kontent.ai connector.
- Pick the Update Content Item By Id action (under Content Items).
- Fill in the fields below, then reference the result from later steps as
{{updateContentItemById.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "string",
"codename": "string",
"collection": {
"id": "string",
"codename": "string",
"external_id": "string"
}
}
Response
Returns 200 with an object. Read it in later steps with {{updateContentItemById.response.data.<field>}}.
Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.
Was this page helpful?