Docs
V2 APIWebsites

Update content entry

PATCH/api/v2/websites/{website}/content-types/{contentType}/entries/{entry}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

website*string
Formatuuid
contentType*string

The content type's key, such as team.

entry*string
Formatuuid

Query Parameters

account_id?string

Optional account to run this request against. Defaults to the account the API token is scoped to, so callers with a single account can omit it. Must be an account the authenticated user belongs to; staff may target any account. For write requests the value may be sent in the JSON body instead of the query string. The resolved account is returned on the X-Resi-Account-Id response header.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Only the keys you send change. data is merged into the stored values: a field you omit is kept, and a field sent as null is cleared.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v2/websites/497f6eca-6276-4993-bfeb-53cbbbba6f08/content-types/string/entries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "slug": "string",    "status": "draft",    "content_type": "string",    "content_type_id": "94a0ecd9-8a2c-4912-8f3b-3707a8e91445",    "scope": "account",    "website_id": "9a5872c2-0bf0-4c68-9c27-86a09b05bf66",    "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",    "path": "string",    "data": {},    "seo": {},    "resolved_data": {},    "website_override": {      "is_excluded": true,      "data": {},      "seo": {}    },    "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",    "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",    "published_at": "2019-08-24T14:15:22Z",    "expires_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}