Bump version to 3.3.1-SNAPSHOT in parent
[policy/parent.git] / docs / pap / swagger / policy-undeploy-pap.json
index 4235b04..de79366 100644 (file)
@@ -2,7 +2,7 @@
   "swagger" : "2.0",
   "basePath" : "/",
   "tags" : [ {
-    "name" : "PdpPolicyUndeploy"
+    "name" : "Undeploy Policy"
   } ],
   "schemes" : [ "http", "https" ],
   "consumes" : [ "application/json" ],
@@ -10,7 +10,7 @@
   "paths" : {
     "/policy/pap/v1/pdps/policies/{name}" : {
       "delete" : {
-        "tags" : [ "PdpPolicyUndeploy" ],
+        "tags" : [ "Undeploy Policy" ],
         "summary" : "Undeploy a PDP Policy from PDPs",
         "description" : "Undeploys the latest version of a policy from the PDPs, returning optional error details",
         "operationId" : "deletePolicy",
@@ -30,8 +30,8 @@
           "type" : "string"
         } ],
         "responses" : {
-          "200" : {
-            "description" : "successful operation",
+          "202" : {
+            "description" : "operation accepted",
             "headers" : {
               "X-MinorVersion" : {
                 "type" : "string",
@@ -76,7 +76,7 @@
     },
     "/policy/pap/v1/pdps/policies/{name}/versions/{version}" : {
       "delete" : {
-        "tags" : [ "PdpPolicyUndeploy" ],
+        "tags" : [ "Undeploy Policy" ],
         "summary" : "Undeploy version of a PDP Policy from PDPs",
         "description" : "Undeploys a specific version of a policy from the PDPs, returning optional error details",
         "operationId" : "deletePolicyVersion",
           "type" : "string"
         } ],
         "responses" : {
-          "200" : {
-            "description" : "successful operation",
+          "202" : {
+            "description" : "operation accepted",
             "headers" : {
               "X-MinorVersion" : {
                 "type" : "string",