Protect

Protect

Endpoint to protect the database
Authorized Roles : ORG_ADMIN or ORG_USER

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

ID of the database


Request Body
ManagedDbBackupConfig of type(s) application/json
Required
{
    "id": "string",
    "numLocalBackupDays": 0,
    "numRemoteBackupDays": 0,
    "automatedBackupStartTime": "string"
}
string As uuid As uuid
id
Optional

id

integer As int64 As int64
numLocalBackupDays
Required

numLocalBackupDays

integer As int64 As int64
numRemoteBackupDays
Required

numRemoteBackupDays

string As ([01]?[0-9]|2[0-3]):[0-5][0-9]
automatedBackupStartTime
Required

automatedBackupStartTime

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