Requires authentication
✨ The Urban Management docs now have a brand-new home! Explore the improved documentation experience
Create a role from a preset
POST /permissions/roles/from-preset
{
"presetName": "User Manager",
"customName": "Custom User Manager"
}
{
"success": true,
"data": {
"id": "uuid",
"name": "Custom User Manager",
"permissions": ["user:read", "user:write"]
}
}
Was this page helpful?