From fae1165e1cc7eda27140267c08e6ee8f124142a1 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Fri, 15 May 2020 12:17:37 -0400 Subject: [PATCH] spec what to do if you try to delete a backup that's already deleted --- api/client-server/key_backup.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/client-server/key_backup.yaml b/api/client-server/key_backup.yaml index f4e83bae..1a79db31 100644 --- a/api/client-server/key_backup.yaml +++ b/api/client-server/key_backup.yaml @@ -328,12 +328,16 @@ paths: x-example: "1" responses: 200: - description: The delete succeeded. + description: |- + The delete succeeded, or the specified backup was previously + deleted. schema: type: object properties: {} 404: - description: The backup specified does not exist. + description: |- + The backup specified does not exist. If the backup was previously + deleted, the call should succeed rather than returning an error. examples: application/json: { "errcode": "M_NOT_FOUND",