Update Service

PATCH {{baseUrl}}/v1/services/:id?update_mask=dolor ipsum voluptate dolor&dry_run=true

Request Params

KeyDatatypeRequiredDescription
update_maskstring
dry_runbooleanIf set, run validation and check that the service exists.

Request Body

{"definition"=>{"name"=>"magna qui enim", "routes"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "ports"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "env"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "regions"=>["laboris", "sunt ut laborum in deserunt"], "scalings"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "instance_types"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "docker"=>{"image"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "command"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "args"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "image_registry_secret"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "git"=>{"repository"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "branch"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tag"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "sha"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "build_command"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "run_command"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "no_deploy_on_push"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

&quot;&quot;