Delete a role.
Deletes the role. Default roles (admin, user) cannot be deleted. Only superadmins can delete roles.
Args: role_id: Role ID. current_user: Authenticated superadmin user. session: Database session.
Documentation Index
Fetch the complete documentation index at: https://docs.snackbase.dev/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response