ModifyBackupTarget

Contributors netapp-mwallis ntap-bmegan Download PDF of this page

You can use the ModifyBackupTarget method to change attributes of a backup target.

Parameters

This method has the following input parameters:

Name Description Type Default value Required

backupTargetID

Unique target ID for the target to modify.

integer

None

Yes

attributes

List of name-value pairs in JSON object format.

JSON object

None

No

name

New name for the backup target.

string

None

No

Return values

This method has no return values.

Request example

Requests for this method are similar to the following example:

{
   "method": "ModifyBackupTarget",
   "params": {
      "backupTargetID" : 1,
      "name": "yourtargetS3"
      "attributes" : {
          "size" : 500,
      }
   },
  "id": 1
}

Response example

This method returns a response similar to the following example:

{
   "id": 1,
   "result": {}
}

New since version

9.6