Scripting deploys curl commands
The Code Manager API deploys
endpoint can trigger code deployments. You can use a curl command in your custom scripts to
hit this endpoint.
Calling the deploys
endpoint in a script is similar to
forming a one-time call to the endpoint. By storing commands in scripts, you don't need to
rebuild the commands from scratch each time.
Build your desired curl command with the relevant URI path, parameters, and authentication, as described in POST /v1/deploys. Then, incorporate the command into your complete script.