Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Chapter 2 Working with the API
Chapter 3 Alert Service Commands
Chapter 8 Problem Service Commands
Cancels an ongoing update for this package.
Example Request:
PUT /api/storage/v1/replication/sources/zfssa-repl/packages/ 8373d331-de60-e590-90e8-9ad69fcb4aec/cancelupdate HTTP/1.1 Host: zfs-storage.example.com Authorization: Basic ab6rt4psMWE=
If no update is in progress, HTTP Status 409 (Conflict) is returned.
Example Response:
HTTP/1.1 409 Conflict X-Zfssa-Replication-Api: 1.0 Content-Type: application/json Content-Length: 137 { "cancelupdate": { "AKSH_ERROR": "EAK_NAS_REPL_BADSTATE", "message": "operation illegal for state" } }
Example Response:
HTTP/1.1 202 Accepted X-Zfssa-Replication-Api: 1.0