Publish metadata

POST https://{{base_url}}/v3/metadata/{{metadata_uid}}/publish

The Publish metadata request lets you publish the metadata associated with 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 Publish metadata API Reference document

Request Body

{"metadata"=>{"environments"=>["test"], "locales"=>["en-us"]}}

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.