Permission API

Changes to POST /api/delete-permission

post/api/delete-permission