POST /structured-content/content-types
1 min
POST
https://api.cmp.optimizely.com/v3/structured-content/content-types
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 \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"details": {
"name": "",
"component": ""
},
"field_definitions": [
{
"core": {
"key": "",
"name": "",
"is_list": "",
"is_required": "",
"need_internationalization": ""
}
}
],
"created_by": ""
}'