Update an asset

Creates a new asset with the specified ID or updates an existing one within the release. Include the current version in X-Contentful-Version when updating.

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
release_idstringRequired
ID of the release in form of a string
asset_idstringRequired
ID of the asset in form of a string

Headers

X-Contentful-VersionstringOptional
Version of the asset to update

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

Created - Resource created successfully