From b1a47a96681be1fc1dec71e0c6e177b3377e8345 Mon Sep 17 00:00:00 2001 From: Maciej Obuchowski Date: Thu, 8 Dec 2022 11:45:18 +0100 Subject: [PATCH] openapi: add delete namespace endpoint (#2295) Signed-off-by: Maciej Obuchowski Signed-off-by: Maciej Obuchowski --- spec/openapi.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/spec/openapi.yml b/spec/openapi.yml index 09b120fe9f..ab32949c6c 100644 --- a/spec/openapi.yml +++ b/spec/openapi.yml @@ -51,6 +51,19 @@ paths: application/json: schema: $ref: '#/components/schemas/Namespace' + delete: + operationId: deleteNamespace + summary: Deletes a namespace + description: Soft deletes a namespace, and every job and dataset inside. On next event containing this namespace, the namespace will be undeleted. + tags: + - Namespaces + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Namespace' /namespaces: get: