From b1b0a7430ce96f547544ac5da8e34ff0f5ed7275 Mon Sep 17 00:00:00 2001 From: Maciej Obuchowski Date: Wed, 7 Dec 2022 21:27:27 +0100 Subject: [PATCH] openapi: add delete namespace endpoint 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: