PlanewardPlaneward Docs
PlanewardPlaneward Docs
Welcome

Developers

REST APIAuthenticationWebhooksMCPEmbedded projectsTask description contentDeveloper hub

API

List sites GETCreate a site POSTGet a site GETUpdate a site PATCHDelete a site DELETEPublish a site POSTUnpublish a site POSTList pages GETCreate a page POSTGet a page GETUpdate a page PATCHDelete a page DELETEList collections GETCreate a collection POSTGet a collection GETUpdate a collection PATCHDelete a collection DELETEList collection items GETCreate a collection item POSTGet a collection item GETUpdate a collection item PATCHDelete a collection item DELETEPublish collection items POSTUnpublish collection items POSTArchive collection items POSTUpsert collection items POST
Sites

Delete a collection item

Also removes it from other items' reference fields.

DELETE
/sites/{siteId}/collections/{collectionId}/items/{itemId}

Also removes it from other items' reference fields.

Authorization

x-api-key<token>

In: header

Path Parameters

siteId*string
collectionId*string
itemId*string

Response Body

application/json

curl -X DELETE "https://example.com/sites/string/collections/string/items/string"
{  "data": {    "deleted": 0,    "referencesCleared": 0  }}

Update a collection item PATCH

Edits the draft. `status` DRAFT unpublishes, ARCHIVED hides. `publish` true puts the saved draft live. Without `expectedContentVersion` the current draft is overwritten; a stale one fails.

Publish collection items POST

Puts items live now through the currently published template. The site must have been published once. Needs site publish permission.