cURL
curl --request PUT \ --url https://api.edgee.app/v1/components/{orgSlug}/{componentSlug}/versions/{versionId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "changelog": "<string>" }'
{ "object": "component_version_item", "version": "<string>", "wit_world_version": "<string>", "wasm_url": "<string>", "dynamic_fields": [ { "name": "<string>", "title": "<string>", "type": "string", "options": [ "<string>" ], "required": true, "description": "<string>", "secret": true } ], "changelog": "<string>", "created_at": "2022-03-01T00:00:00Z" }
Update a Component Version by Slug.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here
Bearer <token>
<token>
The updated Component Version
Version of a component
Was this page helpful?