Create or update an extension

Use this endpoint to create a new extension with a specified ID, or to update a specific extension via its ID. When updating an existing extension, you need to specify the last version of the extension you are updating with 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
extension_idstringRequired
ID of the extension in form of a string

Headers

X-Contentful-VersionstringOptional
Version of the extension to update

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

OK - Request successful