Changed policy API to receive name param in query instead or URL (#591)
Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -48,7 +48,7 @@ func NewRemovePolicy(ctx *middleware.Context, handler RemovePolicyHandler) *Remo
|
||||
return &RemovePolicy{Context: ctx, Handler: handler}
|
||||
}
|
||||
|
||||
/*RemovePolicy swagger:route DELETE /policies/{name} AdminAPI removePolicy
|
||||
/*RemovePolicy swagger:route DELETE /policy AdminAPI removePolicy
|
||||
|
||||
Remove policy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user