1
0

Implemented method to delete a namespace

This commit is contained in:
kolaente
2018-07-04 19:21:04 +02:00
parent 2d81330b27
commit 93efaa95f8
10 changed files with 178 additions and 15 deletions

View File

@ -487,6 +487,45 @@
"$ref": "#/responses/Message"
}
}
},
"delete": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"namespaces"
],
"summary": "Deletes a namespace with all lists",
"operationId": "deleteNamespace",
"parameters": [
{
"type": "string",
"description": "ID of the namespace to delete",
"name": "namespaceID",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"$ref": "#/responses/Message"
},
"400": {
"$ref": "#/responses/Message"
},
"403": {
"$ref": "#/responses/Message"
},
"404": {
"$ref": "#/responses/Message"
},
"500": {
"$ref": "#/responses/Message"
}
}
}
},
"/namespaces/{namespaceID}/lists": {