Convert, enable, disable, or set the role of a database

put

/database/dataguard/databases/{database}

Depending on the operation type, the endpoint will convert to physical, convert to snapshot, enable, disable, set as failover, set as switchover, or set as reinstate a database. A client requires SQL Administrator role to invoke this service.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : schema
Type: object
Show Source
  • Default Value: ENABLE
    Allowed Values: [ "CONVERT_TO_PHYSICAL", "CONVERT_TO_SNAPSHOT", "ENABLE", "DISABLE", "FAILOVER", "SWITCHOVER", "REINSTATE" ]
    CONVERT, ENABLE or DISABLE, SET ROLE
Back to Top

Response

Supported Media Types

201 Response

Data Guard status
Headers

400 Response

Data Guard Bad Request
Headers
Body ()
Root Schema : BadRequest
An object with message errors.
Back to Top