Unpublish metadata

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

The Unpublish metadata request lets you unpublish 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 Unpublish 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.