Delete schema set - REST and service layers
[cps.git] / cps-rest / docs / api / swagger / cpsAdmin.yml
index 948c43b..d33c8e5 100644 (file)
@@ -83,6 +83,25 @@ schemaSetBySchemaSetName:
         $ref: 'components.yaml#/components/responses/Forbidden'
       404:
         $ref: 'components.yaml#/components/responses/NotFound'
+  delete:
+    tags:
+      - cps-admin
+    summary: Delete schema set given a schema set and a dataspace
+    operationId: deleteSchemaSet
+    parameters:
+      - $ref: 'components.yaml#/components/parameters/dataspaceNameInPath'
+      - $ref: 'components.yaml#/components/parameters/schemaSetNameInPath'
+    responses:
+      204:
+        $ref: 'components.yaml#/components/responses/NoContent'
+      400:
+        $ref: 'components.yaml#/components/responses/BadRequest'
+      401:
+        $ref: 'components.yaml#/components/responses/Unauthorized'
+      403:
+        $ref: 'components.yaml#/components/responses/Forbidden'
+      409:
+        $ref: 'components.yaml#/components/responses/Conflict'
 
 anchorsByDataspace:
   get: