Set an auto-deployment rule for the development environment

POST {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{env_id}}/rules

With the POST request to the /rules endpoint you will be able to set auto-deployment rules for a specific environment.

Request Body

{"active"=>true, "type"=>"update", "images_filter"=>["my-sample-app"], "exclude_images_filter"=>false, "update_to"=>"branch", "match"=>""}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring