Update recovery catalog settings

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/actions/bulkUpdateRCSettings

Updates shared or user-specific recovery catalog settings for one or more database targets.

Request

Header Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Specifies recovery catalog settings to apply to one or more database targets.
Show Source
Nested Schema : RCSettings
Type: object
Recovery catalog settings to apply to the specified target databases.
Show Source
Nested Schema : targets
Type: array
Lists the database targets to update.
Show Source
Nested Schema : catalogDetails
Type: object
Specifies the recovery catalog database target and catalog user details.
Show Source
  • Specifies the username of the base recovery catalog owner.
    Example: rman
  • Specifies the Enterprise Manager target name of the recovery catalog database.
    Example: rcDb19
  • Allowed Values: [ "oracle_database", "rac_database", "oracle_pdb" ]
    Specifies the Enterprise Manager target type of the recovery catalog database.
    Example: oracle_database
  • emUsersToGrantAccess
    Lists Enterprise Manager users to grant the VIEW_TARGET privilege on the recovery catalog database target and the VIEW_CREDENTIAL privilege on the named credential selected for the recovery catalog user.
  • Specifies the virtual private catalog user used to access the recovery catalog for the target database.
    Example: vpc1
Nested Schema : emUsersToGrantAccess
Type: array
Lists Enterprise Manager users to grant the VIEW_TARGET privilege on the recovery catalog database target and the VIEW_CREDENTIAL privilege on the named credential selected for the recovery catalog user.
Show Source
  • Specifies an Enterprise Manager user to grant the required privileges.
    Example: emuser_admin
Nested Schema : TargetDatabase
Type: object
Specifies a database target and the credentials used to update its recovery catalog settings.
Show Source
  • Specifies the Enterprise Manager named credential used to access the database.
    Example: NAMED:SYS_ORACLE:SYSMAN
  • Specifies the Enterprise Manager named credential used to access the database host.
    Example: NAMED:HOST_ORACLE:SYSMAN
  • Specifies the Enterprise Manager target name of the database.
    Example: DB19c
  • Specifies the Enterprise Manager target type of the database.
    Example: oracle_database
Examples

Back to Top

Response

Supported Media Types

202 Response

Accepted.
Headers
Body ()
Root Schema : DPSubmittedResponse
Type: object
Provides tracking details for the submitted Deployment Procedure.
Show Source
  • Specifies the execution ID of the submitted Deployment Procedure.
    Example: 34B14C3EF571187FE063821B4B643724
  • Specifies the procedure ID of the submitted Deployment Procedure.
    Example: 34B14C3EF571187FE063821B4B643724
  • Specifies the submission name of the Deployment Procedure.
    Example: BulkUpdateRCSettings_050925091231
  • Indicates the Enterprise Manager user who submitted the Deployment Procedure.
    Example: SYSMAN
Examples

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
Examples

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
Examples

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
Examples

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
Examples

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
Examples

Back to Top