summaryrefslogtreecommitdiffstats
path: root/cps-rest/docs
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-11-23 14:56:49 +0000
committerGerrit Code Review <gerrit@onap.org>2021-11-23 14:56:49 +0000
commita84a4aa84fd22af9b89424d776a18a98d7515bd2 (patch)
tree002b2d3b6a77c6a96b6f2ef1a6057e9d8445d386 /cps-rest/docs
parentf7b414e85fe4bd4a227e24cc4bbccd9568b188fa (diff)
parent09c6b6e1fa2684c913d7b904f7c7ad6b26b04ef1 (diff)
Merge "CPS-314: Delete Dataspace"
Diffstat (limited to 'cps-rest/docs')
-rw-r--r--cps-rest/docs/openapi/cpsAdmin.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/cps-rest/docs/openapi/cpsAdmin.yml b/cps-rest/docs/openapi/cpsAdmin.yml
index a022ef1d94..869cb6e724 100644
--- a/cps-rest/docs/openapi/cpsAdmin.yml
+++ b/cps-rest/docs/openapi/cpsAdmin.yml
@@ -35,6 +35,26 @@ dataspaces:
'403':
$ref: 'components.yml#/components/responses/Forbidden'
+ delete:
+ description: Delete a dataspace
+ tags:
+ - cps-admin
+ summary: Delete a dataspace
+ operationId: deleteDataspace
+ parameters:
+ - $ref: 'components.yml#/components/parameters/dataspaceNameInQuery'
+ responses:
+ '204':
+ $ref: 'components.yml#/components/responses/NoContent'
+ '400':
+ $ref: 'components.yml#/components/responses/BadRequest'
+ '401':
+ $ref: 'components.yml#/components/responses/Unauthorized'
+ '403':
+ $ref: 'components.yml#/components/responses/Forbidden'
+ '409':
+ $ref: 'components.yml#/components/responses/Conflict'
+
schemaSet:
post:
description: Create a new schema set in the given dataspace