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

KeyDatatypeRequiredDescription
api_keystringEnter the API key of the stack.
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
Content-TypestringEnter "application/json" to pass a Request body.
branchstringEnter your branch or alias unique ID.