Update content type
documentedUpdate a content type.
PATCH /spaces/{space_id}/content_types/{content_type_id}Content typesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.contentful.com/spaces/{{$space_id}}/environments/{{$environment_id}}/content_types/{{$content_type_id}}" \
-X PATCH \
-H "Authorization: Bearer {{CONTENTFUL_CMA_TOKEN}}" \
-H "Content-Type: application/vnd.contentful.management.v1+json" \
-H "Accept: application/json" \
-H "X-Contentful-Version: {{$version}}" \
-d '{"name": "{{$name}}", "description": "{{$description}}", "fields": [ {"id": "{{$title_field_id}}", "name": "{{$title_field_name}}", "type": "Symbol", "required": true}, {"id": "{{$body_field_id}}", "name": "{{$body_field_name}}", "type": "Text", "localized": true} ] }'