Delete the backup strategy of a cluster

2023-08-22 02:46:05  Updated

Description

You can call this operation to delete the backup strategy of a cluster. After the backup strategy is deleted, the cluster does not perform automatic backup scheduling, nor does it check for alerts.

Call description

Prerequisites

  • You have the Delete permission on cluster backup and recovery.

  • You have passed the authentication for the OCP application service.

Request path

DELETE /api/v2/ob/clusters/{id}/backup/config/backupStrategy

path:

Parameter Type Required Example value Description
id Integer Yes 1 The ID of the cluster for which you want to delete the backup strategy.

Examples

Sample request

DELETE /api/v2/ob/clusters/1/backup/config/backupStrategy

Sample response

{
    "data": {
        "backupObjectOpsResultList": [
            {
                "beSuccessful": true,
                "obBackupObjectList": [
                    {
                        "backupDimension": "CLUSTER",
                        "clusterId": 2000001
                    }
                ]
            }
        ],
        "obBackupTaskType": "DELETE_BACKUP_STRATEGY"
    },
    "duration": 93,
    "server": "xxx.xxx.xxx.xxx",
    "status": 200,
    "successful": true,
    "timestamp": "2021-09-08T14:43:36.923+08:00",
    "traceId": "df433f7a864a49f6"
}

Contact Us