Browse Source

correct uri for deleteing entitlement requests

Mark deVilliers 2 years ago
parent
commit
0b64b60cb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/api/entitlements.go

+ 1 - 1
node/api/entitlements.go

@@ -109,7 +109,7 @@ func (e entitlementResource) WebService() *restful.WebService {
109 109
 
110 110
 	// delete a request
111 111
 	// TODO : when adding in authN/R ensure only the creator can delete
112
-	ws.Route(ws.DELETE("/request/{request-uid}").To(e.removeRequest).
112
+	ws.Route(ws.DELETE("/requests/{request-uid}").To(e.removeRequest).
113 113
 		Doc("delete an entitlement request").
114 114
 		Metadata(restfulspec.KeyOpenAPITags, tags).
115 115
 		Param(requestUIDParameter))