Update a Database Vault policy

patch

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultPolicies/{dbVaultPolicyId}

Applies the supplied changes to the policy identified by dbVaultPolicyId.

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 policy.
Show Source
  • commandRules
    Command rules to associate with the policy.
  • Description of the policy.
    Example: This policy will accomplish its purpose with realms and command rules
  • Name of the policy.
    Example: Oracle Account Management Control
  • owners
    Owners to associate with the policy.
  • realms
    Realms to associate with the policy.
  • Minimum Length: 7
    Maximum Length: 10
    Pattern: ^(?:[Ee][Nn][Aa][Bb][Ll][Ee][Dd]|[Dd][Ii][Ss][Aa][Bb][Ll][Ee][Dd]|[Ss][Ii][Mm][Uu][Ll][Aa][Tt][Ii][Oo][Nn]|[Pp][Aa][Rr][Tt][Ii][Aa][Ll])$
    State of the policy: Enabled enforces the policy; Disabled disables it; Simulation logs realm and command-rule violations; Partial allows the enforcement state of associated realms and command rules to be changed individually.
Nested Schema : commandRules
Type: array
Command rules to associate with the policy.
Show Source
Nested Schema : owners
Type: array
Owners to associate with the policy.
Show Source
Nested Schema : realms
Type: array
Realms to associate with the policy.
Show Source
Nested Schema : DbVaultPolicyCommandRuleDetails
Type: object
Identifies an existing command rule to associate with a policy.
Show Source
Nested Schema : DbVaultPolicyOwnerDetails
Type: object
Identifies an existing owner to associate with a policy.
Show Source
Nested Schema : DbVaultPolicyRealmDetails
Type: object
Identifies an existing realm to associate with a policy.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Policy updated.
Body ()
Root Schema : DbVaultPolicy
Type: object
Detailed representation of a Database Vault policy.
Show Source
Match All
Detailed representation of a Database Vault policy.
Show Source
Nested Schema : commandRules
Type: array
Command rules associated with the policy.
Show Source
Nested Schema : owners
Type: array
Owners associated with the policy.
Show Source
Nested Schema : realms
Type: array
Realms associated with the policy.
Show Source
Nested Schema : DatabaseVaultCommandRuleSummary
Type: object
Summary of a Database Vault command rule.
Show Source
Match All
Summary of a Database Vault command rule.
Show Source
Nested Schema : Owners
Type: object
Owner associated with a Database Vault policy.
Show Source
Nested Schema : DatabaseVaultRealmSummary
Type: object
Summary of a Database Vault realm.
Show Source
Match All
Summary of 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