Protect

Protect

Endpoint to protect the database
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
POST
https://{api_host}/provider/databases/{dbid}/protect
COPY
Path Parameters
string
dbid
Required

ID of the database


Request Body
DbInstanceBackupConfigDTO of type(s) application/json
Required
{
    "numLocalBackupDays": 0,
    "numRemoteBackupDays": 0,
    "automatedBackupStartTime": "string",
    "enableAutoBackups": false
}
integer As int64 As int64
numLocalBackupDays
Optional

numLocalBackupDays

integer As int64 As int64
numRemoteBackupDays
Optional

numRemoteBackupDays

string
automatedBackupStartTime
Optional

automatedBackupStartTime

boolean
enableAutoBackups
Optional

enableAutoBackups

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure