Update the Deployment identified by the id
PUT {{baseUrl}}/deployments/:deploymentId
Updates the deployment with the given identifier.
Request Body
{"specification"=>{"loggingPolicies"=>{"accessLog"=>{"isEnabled"=>false}, "executionLog"=>{"isEnabled"=>false, "logLevel"=>"INFO"}}, "requestPolicies"=>{"authentication"=>{"type"=>"CUSTOM_AUTHENTICATION", "isAnonymousAccessAllowed"=>true}, "cors"=>{"allowedOrigins"=>["eiusmod dolore tempor", "Duis in"], "allowedHeaders"=>["*", "Content-Type", "X-Foo-Bar"], "allowedMethods"=>["*", "GET", "POST"], "exposedHeaders"=>["*", "opc-request-id"], "isAllowCredentialsEnabled"=>false, "maxAgeInSeconds"=>600}, "rateLimiting"=>{"rateInRequestsPerSecond"=>49802252, "rateKey"=>"CLIENT_IP"}}, "routes"=>[{"backend"=>{"type"=>"ORACLE_FUNCTIONS_BACKEND"}, "path"=>"/todos", "loggingPolicies"=>{"accessLog"=>{"isEnabled"=>false}, "executionLog"=>{"isEnabled"=>false, "logLevel"=>"INFO"}}, "methods"=>["PATCH", "POST"], "requestPolicies"=>{"authorization"=>{"type"=>"AUTHENTICATION_ONLY"}, "bodyValidation"=>{"content"=>{"*/*"=>{"validationType"=>"NONE"}, "application/*"=>{"validationType"=>"NONE"}, "application/json"=>{"validationType"=>"NONE"}}, "validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "required"=>false}, "cors"=>{"allowedOrigins"=>["est exercitation laboris cillum aute", "sint ipsum consectetur"], "allowedHeaders"=>["*", "Content-Type", "X-Foo-Bar"], "allowedMethods"=>["*", "GET", "POST"], "exposedHeaders"=>["*", "opc-request-id"], "isAllowCredentialsEnabled"=>false, "maxAgeInSeconds"=>600}, "headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "headerValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "headers"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "queryParameterTransformations"=>{"filterQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "queryParameterValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parameters"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "responseCacheLookup"=>{"type"=>"SIMPLE_LOOKUP_POLICY", "isEnabled"=>true, "isPrivateCachingEnabled"=>false}}, "responsePolicies"=>{"headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "responseCacheStore"=>{"type"=>"FIXED_TTL_STORE_POLICY"}}}, {"backend"=>{"type"=>"HTTP_BACKEND"}, "path"=>"/todos", "loggingPolicies"=>{"accessLog"=>{"isEnabled"=>false}, "executionLog"=>{"isEnabled"=>false, "logLevel"=>"INFO"}}, "methods"=>["PUT", "POST"], "requestPolicies"=>{"authorization"=>{"type"=>"AUTHENTICATION_ONLY"}, "bodyValidation"=>{"content"=>{"*/*"=>{"validationType"=>"NONE"}, "application/*"=>{"validationType"=>"NONE"}, "application/json"=>{"validationType"=>"NONE"}}, "validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "required"=>false}, "cors"=>{"allowedOrigins"=>["magna incididunt exercitation amet", "id cillum"], "allowedHeaders"=>["*", "Content-Type", "X-Foo-Bar"], "allowedMethods"=>["*", "GET", "POST"], "exposedHeaders"=>["*", "opc-request-id"], "isAllowCredentialsEnabled"=>false, "maxAgeInSeconds"=>600}, "headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "headerValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "headers"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "queryParameterTransformations"=>{"filterQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "queryParameterValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parameters"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "responseCacheLookup"=>{"type"=>"SIMPLE_LOOKUP_POLICY", "isEnabled"=>true, "isPrivateCachingEnabled"=>false}}, "responsePolicies"=>{"headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "responseCacheStore"=>{"type"=>"FIXED_TTL_STORE_POLICY"}}}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | null | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource will be updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
opc-request-id | null | The client request id for tracing. | |
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |