Updates the properties of a vault.
PUT {{baseUrl}}/20180608/vaults/:vaultId
Updates the properties of a vault. Specifically, you can update the
displayName
, freeformTags
, and definedTags
properties. Furthermore,
the vault must be in an ACTIVE or CREATING state to be updated.
As a provisioning operation, this call is subject to a Key Management limit that applies to the total number of requests across all provisioning write operations. Key Management might throttle this call to reject an otherwise valid request when the total rate of provisioning write operations exceeds 10 requests per second for a given tenancy.
Request Body
{"displayName"=>"<string>", "freeformTags"=>{"laboris_7ce"=>"<string>", "adipisicing_a6"=>"<string>", "sint6"=>"<string>", "nisi3"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | 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 | string | Unique identifier for the request. If provided, the returned request ID | |
will include this value. Otherwise, a random request ID will be | |||
generated by the service. | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","displayName":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","lifecycleState":"BACKUP_IN_PROGRESS","vaultType":"VIRTUAL_PRIVATE","cryptoEndpoint":"\u003cstring\u003e","managementEndpoint":"\u003cstring\u003e","wrappingkeyId":"\u003cstring\u003e","definedTags":{"cupidatated":{"eiusmod_b24":{},"ex26":{}},"adipisicing_49":{"dolor9":{},"elit22":{}},"consectetur9":{"Excepteur_1":{},"Duis_5ac":{}}},"freeformTags":{"dolore3f":"\u003cstring\u003e","irure_9ea":"\u003cstring\u003e","sed_62":"\u003cstring\u003e"},"isPrimary":"\u003cboolean\u003e","replicaDetails":{"replicationId":"\u003cstring\u003e"},"restoredFromVaultId":"\u003cstring\u003e","timeOfDeletion":"\u003cdateTime\u003e"}