Adds a lock to a DatabaseToolsConnection resource.

POST {{baseUrl}}/databaseToolsConnections/:databaseToolsConnectionId/actions/addLock

Adds a lock to a DatabaseToolsConnection resource.

Request Body

{"type"=>"FULL", "message"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
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.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;lifecycleState&quot;:&quot;INACTIVE&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeUpdated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;type&quot;:&quot;POSTGRESQL&quot;,&quot;runtimeSupport&quot;:&quot;SUPPORTED&quot;,&quot;definedTags&quot;:{&quot;aliquip_9&quot;:{&quot;deserunt72&quot;:{},&quot;Duis_e&quot;:{}},&quot;sunt__&quot;:{&quot;sint_ef&quot;:{}}},&quot;freeformTags&quot;:{&quot;quis6a0&quot;:&quot;\u003cstring\u003e&quot;,&quot;magna73c&quot;:&quot;\u003cstring\u003e&quot;,&quot;aliquip_19&quot;:&quot;\u003cstring\u003e&quot;},&quot;lifecycleDetails&quot;:&quot;\u003cstring\u003e&quot;,&quot;locks&quot;:[{&quot;type&quot;:&quot;DELETE&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;relatedResourceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;type&quot;:&quot;DELETE&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;relatedResourceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;}],&quot;systemTags&quot;:{&quot;irure_de&quot;:{&quot;tempor_70&quot;:{}}}}