Update a Database Vault realm

patch

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultRealms/{dbVaultRealmId}

Applies the supplied changes to the realm identified by dbVaultRealmId.

Request

Path Parameters
Header Parameters
Supported Media Types
Request Body - application/json+merge-patch ()
Root Schema : schema
Type: object
Properties used to update a Database Vault realm.
Show Source
  • Minimum Length: 1
    Maximum Length: 1
    Allowed Values: [ "0", "1", "2", "3" ]
    Specify one of the following options for traditional realm auditing. If unified auditing is enabled, create a unified audit policy instead of using auditOptions. - '0' disables auditing of the realm (default). - '1' records realm violations. - '2' records authorized activities on protected objects. - '3' records both authorized and unauthorized activities. On Oracle Database 23c and later, only '0' is supported.
  • Minimum Length: 0
    Maximum Length: 1024
    Purpose of the realm, up to 1024 characters in mixed case.
    Example: Realm to protect the HR schema
  • Minimum Length: 1
    Maximum Length: 1
    Pattern: ^[YyNnSs]$
    Specify one of the following options to set the realm state. - Y to enable realm checking (default). - N to disable all realm checking, including the capture of violations in the simulation log. - S to allow SQL statements to execute while recording violations in the simulation log.
  • Minimum Length: 4
    Maximum Length: 5
    Pattern: ^(?:[Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])$
    When simulation mode is enabled, specifies whether to record the PL/SQL stack for failed operations. TRUE records the stack; FALSE does not. The default is FALSE.
  • realmAuthorizations
    Authorizations to update in the realm.
  • Unique name of the realm.
    Example: HR Apps
  • Minimum Length: 1
    Maximum Length: 1
    Allowed Values: [ "0", "1" ]
    Specify one of the following options: - 0: Disable mandatory realm checking (default). - 1: Enable mandatory realm checking for realm objects. Only realm owners or participants can access objects in the realm; object owners and users with object privileges who are not realm owners or participants cannot access them.
  • securedObjects
    Secured objects to update in the realm.
Nested Schema : realmAuthorizations
Type: array
Authorizations to update in the realm.
Show Source
Nested Schema : securedObjects
Type: array
Secured objects to update in the realm.
Show Source
Nested Schema : RealmAuthorization
Type: object
Authorization for a database user or role to manage or access objects protected by a realm.
Show Source
Nested Schema : RealmSecuredObj
Type: object
A schema object, database object, or role protected by a realm.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Realm updated.
Body ()
Root Schema : DbVaultRealm
Type: object
Detailed representation of a Database Vault realm.
Show Source
Match All
Detailed representation of a Database Vault realm.
Show Source
Nested Schema : realmAuthorizationObject
Type: array
Authorizations for the realm.
Show Source
Nested Schema : realmSecureObject
Type: array
Secured objects in the realm.
Show Source
Nested Schema : DbVaultRealmAuthorizations
Type: object
Authorization to access or manage a Database Vault realm.
Show Source
Match All
Authorization to access or manage a Database Vault realm.
Show Source
Nested Schema : DbVaultRealmSecureObj
Type: object
Secured object protected by a Database Vault realm.
Show Source
Match All
Secured object protected by a Database Vault realm.
Show Source

400 Response

Bad Request
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

404 Response

Not Found
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

409 Response

Duplicate Resource
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

503 Response

Service Unavailable
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

Default Response

Unexpected error.
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported
Back to Top