# Permission Endpoints

Create New Permission

 
 

POST /admin/permission
PAYLOAD name,parent
1
2

For Parent field

Here parent field is the model name for which you are creating permission. For example, CreateBlog permission belongs to parent called Blog Think about parent as the group of permissions.

Get all Permissions

 

GET /admin/permission
1

Update A Permissions

 
 

PATCH /admin/permission/{permission_id}
PAYLOAD name,parent
1
2

Delete A Permissions

 

DELETE /admin/permission/{permission_id}
1