                    :responses {200 {:schema JobResponse
                                     :description "The job was returned."}
                                400 {:description "A non-UUID value was passed."}
-                               403 {:description "The supplied UUID doesn't correspond to a valid job."}}
+                               404 {:description "The supplied UUID doesn't correspond to a valid job."}}
                    :handler (read-jobs-handler-single conn is-authorized-fn)}}))
 
         (c-api/context

                   :responses {200 {:schema [GroupResponse]
                                    :description "The groups were returned."}
                               400 {:description "Non-UUID values were passed."}
                               403 {:description "The supplied UUIDs don't correspond to valid groups."}}
                   :handler (groups-action-handler conn task-constraints is-authorized-fn)}
             :delete
             {:summary "Kill all jobs within a set of groups"
              :parameters {:query-params KillGroupsParams}
              :responses {204 {:description "The groups' jobs have been marked for termination."}
                          400 {:description "Non-UUID values were passed."}
                          403 {:description "The supplied UUIDs don't correspond to valid groups."}}
              :handler (groups-action-handler conn task-constraints is-authorized-fn)}}))

        (c-api/context

            {:produces ["application/json"],
             :responses {200 {:schema UserUsageResponse
                              :description "User's usage calculated."}
                         400 {:description "Invalid request format."}
                         401 {:description "Not authorized to read usage."}}
             :get {:summary "Query a user's current resource usage."
                   :parameters {:query-params UserUsageParams}
                   :handler (read-usage-handler conn is-authorized-fn)}}))
