Return 404 when deleting non-existant SSH key
Currently when using the UI to delete an SSH key via the credentials inventory, the HTTP status code returned is always 201 regardless of the outcome. This commits adds a guard clause to render a 404 Not Found error when attempting to delete a non-existant SSH key.
Showing
Please register or sign in to comment