Update responses

RESTful API displays responses that denote the success or failure of update requests.

Examples

Request and response of a successful operation
DELETE /v1/volumes/0000
{
 “server”:
  {
  “status” : ”ok”,
  “code” : ””,
  "message" : “The operation completed successfully.”
  }
}
Request and response of an unsuccessful operation
DELETE /v1/volumes/0000
{
“server”:
 {
 “status” : ”failed”,
 “code” : ”BE7A0001”,
 "message" : “Resource 0000 does not exist.”
 }
}