Skip to content

Commit

Permalink
openapi: add delete namespace endpoint (#2295)
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Obuchowski <[email protected]>

Signed-off-by: Maciej Obuchowski <[email protected]>
  • Loading branch information
mobuchowski committed Dec 8, 2022
1 parent 11f6cec commit b1a47a9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spec/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b1a47a9

Please sign in to comment.