Skip to content

Commit

Permalink
GET responses following a successful DELETE should be returning 404. … (
Browse files Browse the repository at this point in the history
#13054)

* GET responses following a successful DELETE should be returning 404. Only the DELETE response is to return 204 if the resource didn't exist (it allows idempotent deletes).

(cherry picked from commit b752a19)

* Removing 404 as it is taken care by default response.
  • Loading branch information
riteshchitlangia1 authored Feb 23, 2021
1 parent ab9e37d commit 4913df4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
}
}
}
},
"204": {
"headers": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,6 @@
"$ref": "#/definitions/MHSMPrivateEndpointConnection"
}
},
"204": {
"description": "The private endpoint connection does not exist."
},
"default": {
"description": "The error response describing why the operation failed.",
"schema": {
Expand Down

0 comments on commit 4913df4

Please sign in to comment.