Skip to main content
PATCH
/
content
/
v2
/
content-models
/
{modelInternalName}
/
records
/
{contentModelDataId}
/
versions
/
{versionId}
Update Fields in a Record Version
curl --request PATCH \
  --url https://apis.experro.app/content/v2/content-models/{modelInternalName}/records/{contentModelDataId}/versions/{versionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-environment-id: <x-environment-id>' \
  --header 'x-tenant-id: <x-tenant-id>' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "title": "<string>",
  "page_slug": "<string>",
  "description": "<string>",
  "is_force_update": true
}'
This response does not have an example.
Before calling this endpoint, make sure you’ve generated an API token and picked the correct domain. See Authentication & Base URLs.

Authorizations

Authorization
string
header
required

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

Headers

x-tenant-id
string
required

Identifier for the tenant. Ensures data isolation per tenant.

x-workspace-id
string
required

Workspace identifier within the tenant. Scopes resources to a specific workspace.

x-environment-id
string
required

Unique identifier of the target environment. Used to scope the API call to a specific deployment environment.

Example:

"PRODUCTION-15a0f8c2-a5e8-4e40-ae74-cb1389d22f45-w49jkngj"

Path Parameters

modelInternalName
string
required

Internal name of the content model.

contentModelDataId
string
required

Unique ID of the content record to update.

versionId
string
required

Identifier of the specific version to patch.

Query Parameters

locale
string
required

Specifies the language or region for the response data

Body

application/json

Fields to update on this version. Only provided keys will be changed.

title
string
required

Specifies the title of the record.

page_slug
string

Specifies the URL-friendly slug for the page. Required when model is set to act as web page.

description
string

Provides a brief description of the record. (Optional)

is_force_update
boolean

When true, applies changes to the published version immediately.

Response

No Content – update successful, no body returned.