Create a content type with a specified ID

Creates a new content type with the specified ID or updates an existing one. When updating, include the current version in X-Contentful-Version.

Authentication

AuthorizationBearer

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

Path parameters

space_idstringRequired
ID of the Space in form of a string
environment_idstringRequired
ID of the environment in form of a string
content_type_idstringRequired
ID of the Content Type in form of a string

Headers

X-Contentful-VersionstringOptional
Version of the content type to update

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

Created - Resource created successfully