Skip to main content
POST
Migrate Content
Updates content to use a newer ContentType version, updating the derived packageVersion.

Path Parameters

string
required
Organization ID
string
required
Project ID
string
required
Content ID

Request Body

number | string
The published ContentType version to migrate to, or "draft" for the ContentType’s current package version. Required unless targetPackageVersion is set.
string
Package version to migrate to directly. Required unless targetTypeVersion is set.

Example Request

Response

Returns the updated Content object with the new packageVersion.
Migration changes the packageVersion. Published content becomes modified (or draft if it was never published), and you must publish it to make the migration live. Migration does not validate content; publishing validates it against the ContentType schema.

Error Responses

ContentType Version Not Found

Code Examples