🎭 Manage Roles

Create, view, update, and delete roles with permission assignments

List All Roles

GET
https://www.all-happy-events.swaadishthotels.com/api/roles
Response

Create New Role

POST
https://www.all-happy-events.swaadishthotels.com/api/roles
Lowercase, no spaces (use underscores)
Hold Ctrl/Cmd to select multiple permissions
Response

Update Role Permissions

PUT
https://www.all-happy-events.swaadishthotels.com/api/roles/{id}/permissions
Enter the role ID to update
Select permissions to sync (replaces all existing permissions)
Response

Delete Role

DELETE
https://www.all-happy-events.swaadishthotels.com/api/roles/{id}
Enter the role ID to delete (cannot delete super_admin)
Response