MailMasker API
Claude Code
Users and roles

List roles

GET/api/v1/admin/roles

Who can use this: Site adminsAs Markdown

In the order they were made. protected is 1 for the three built-in roles that can't be deleted, and 0 for the rest: user, site_admin, and system_agent, the role the fleet's own services sign in with. site_admin carries no permissions because it needs none: a site admin may always do everything.