Publish an asset

POST https://{{base_url}}/v3/assets/{{asset_uid}}/publish

The Publish an asset call is used to publish a specific version of an asset on the desired environment either immediately or at a later date/time.
To configure the permissions for your application via OAuth, please include the cm.asset:publish scope.

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 an asset API Reference document

Request Body

{"asset"=>{"locales"=>["en-us"], "environments"=>["development"]}, "version"=>1, "scheduled_at"=>"2019-02-08T18:30:00.000Z"}

HEADERS

KeyDatatypeRequiredDescription
api_keystringEnter the API key of the stack that holds the asset
authtokenstring
authorizationstringFor this call we recommend you to use management token.
Content-Typestring
branchstringEnter your branch unique ID.