Deleting an Archive

The URI to delete an archive is:

/data/icx-openconfig-archive:archive-top/management/act-delete

Supported HTTP Operations

POST method

/data/icx-openconfig-archive:archive-top/management/act-delete
Request body:
{"icx-openconfig-archive:input":
{"delete-type" :"delete-archive",
"archive-name": "ICX7K_ARCHIVE_00"}}

Response body: If successful,HTTP/1.1 204 No Content
If there is an error,HTTP/1.1 500 Internal Server Error
The archive-name must exist on a target system.

POST method

/data/icx-openconfig-archive:archive-top/management/act-delete
Request body:
{"icx-openconfig-archive:input":
{"delete-type": "delete-backup"}}

Response body: If successful,HTTP/1.1 204 No Content
If there is an error,HTTP/1.1 500 Internal Server Error