From ddccf6a60ea554a01f7bcbc952e64112b21e76d3 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Mon, 26 Apr 2021 19:35:02 -0700 Subject: [PATCH] hydra-api: implement DELETE /project/{id} --- hydra-api.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/hydra-api.yaml b/hydra-api.yaml index dbca2b3d..2443b679 100644 --- a/hydra-api.yaml +++ b/hydra-api.yaml @@ -258,6 +258,33 @@ paths: schema: $ref: '#/components/schemas/Error' + delete: + summary: Deletes a project + parameters: + - name: id + in: path + description: project identifier + required: true + schema: + type: string + responses: + '200': + description: project deleted + content: + application/json: + schema: + type: object + properties: + redirect: + type: string + description: root of the Hydra instance + '404': + description: project could not be found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + /jobset/{project-id}/{jobset-id}: put: summary: Creates a jobset in an existing project