Update metadata
PUT https://{{base_url}}/v3/metadata/{{metadata_uid}}
The Update metadata request lets you update the metadata for a specific entry or asset.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Update metadata API Reference document
Request Body
{"metadata"=>{"entity_uid"=>"bltcbdfb3f254446076", "type"=>"entry", "extension_uid"=>"blt8c723a09fdd0b25e", "locale"=>"en_us", "_content_type_uid"=>"sample_content", "presets"=>[{"uid"=>"d9300b22-f37d-4b25-93df-fc0395d62814", "name"=>"test1"}, {"name"=>"Test3", "uid"=>"8418f24e-4393-4dd9-9f20-d2ecba539431", "options"=>{"quality"=>"100", "transform"=>{"height"=>500, "width"=>500}, "image-type"=>"jpeg", "focal-point"=>{"x"=>0, "y"=>0}}}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack. | |
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string | Enter "application/json" to pass a Request body. | |
branch | string | Enter your branch or alias unique ID. |