* Server Answers:
* Case 1: the backend returns true on removal. This means the key is gone.
* The server returns 200 OK, no body.
- * Case 2: the backend returns false on removal. An error occoured.
+ * Case 2: the backend returns false on removal. An error occurred.
* The sever returns 422 Unprocessable Entity with message "Could not DELETE :cryptokey_id".
* */
static void apiZoneCryptokeysDELETE(DNSName zonename, int inquireKeyId, HttpRequest *req, HttpResponse *resp, DNSSECKeeper *dk) {
* The server returns 400 Bad Request
* Case 2: the backend returns true on de/activation. This means the key is de/active.
* The server returns 204 No Content
- * Case 3: the backend returns false on de/activation. An error occoured.
+ * Case 3: the backend returns false on de/activation. An error occurred.
* The sever returns 422 Unprocessable Entity with message "Could not de/activate Key: :cryptokey_id in Zone: :zone_name"
* */
static void apiZoneCryptokeysPUT(DNSName zonename, int inquireKeyId, HttpRequest *req, HttpResponse *resp, DNSSECKeeper *dk) {