Modifies a function

PUT {{baseUrl}}/functions/:functionId

Modifies a function

Request Body

{"image"=>"<region>.ocir.io/<tenancy_namespace>/<app>/<image>:1.0.0", "imageDigest"=>"sha256:84386...", "memoryInMBs"=>256, "timeoutInSeconds"=>30, "traceConfig"=>{"isEnabled"=>false}}

HEADERS

KeyDatatypeRequiredDescription
if-matchstringFor 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-idstringThe unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;velit sed&quot;,&quot;applicationId&quot;:&quot;nostrud fugiat ut&quot;,&quot;compartmentId&quot;:&quot;voluptate dolor&quot;,&quot;config&quot;:{},&quot;definedTags&quot;:{},&quot;displayName&quot;:&quot;ex proident aliqua culpa&quot;,&quot;freeformTags&quot;:{},&quot;image&quot;:&quot;amet consequat&quot;,&quot;imageDigest&quot;:&quot;dolore Lorem consecte&quot;,&quot;invokeEndpoint&quot;:&quot;et proident laborum do sint&quot;,&quot;lifecycleState&quot;:&quot;UPDATING&quot;,&quot;memoryInMBs&quot;:-71496706,&quot;timeCreated&quot;:&quot;1956-10-17T11:17:28.220Z&quot;,&quot;timeUpdated&quot;:&quot;1990-08-07T04:13:31.141Z&quot;,&quot;timeoutInSeconds&quot;:30,&quot;traceConfig&quot;:{&quot;isEnabled&quot;:true}}