POST /structured-content/content-types/{content_type_id}/versions
1 min
POST
https://api.cmp.optimizely.com/v3/structured-content/content-types/{content_type_id}/versions
content_type_idstringUnique identifier of the content type
acceptstringGenerated from available response content types
bodyobject
200Successful response
201Created
422Validation error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/structured-content/content-types/{content_type_id}/versions \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"field_definitions": [
{
"core": {
"key": "",
"name": "",
"is_list": "",
"is_required": "",
"need_internationalization": ""
}
}
],
"created_by": ""
}'