Update a Database Vault command rule

patch

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultCommandRules/{dbVaultCommandRuleId}

Applies the supplied changes to the command rule identified by dbVaultCommandRuleId.

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 command rule.
Show Source
  • Minimum Length: 3
    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]|[Ff][Uu][Ll][Ll]|[Ss][Qq][Ll])$
    Command-rule condition. Accepted values are Enabled, Disabled, Simulation, Full, and SQL, without case sensitivity.
  • Name of the rule set associated with the command rule.
    Example: Can Grant VPD Administration
Back to Top

Response

Supported Media Types

200 Response

Command rule updated.
Body ()
Root Schema : DbVaultCommandRule
Type: object
Detailed representation of a Database Vault command rule.
Show Source
Match All
Detailed representation of a Database Vault command rule.
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

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