Sign in

Replace asset

documented

Replace an asset.

PUT /spaces/{space_id}/assets/{asset_id}Assetsno implementation yet0 runs
No 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}}/assets/{{$asset_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/vnd.contentful.management.v1+json" \
  -H "Accept: application/json" \
  -H "X-Contentful-Version: {{$version}}" \
  -d '{"fields": {"title": {"en-US": "{{$title}}"}, "description": {"en-US": "{{$description}}"}}}'
Replace asset · Contentful · OpenIntegrations