Improvado Roles API
Manage custom workspace roles and inspect the available permission catalog. Each agency ships with a fixed set of system roles (Workspace Admin, Editor, Viewer, Data Manager, Data Load Manager, Data Analyst). On top of these you can define **custom roles** scoped to the agency and assign them to users in any workspace. Capabilities: - List system + custom roles (each role carries its assigned `user_count`). - Fetch the curated permission catalog: a stable, ordered list of product layers with permissions, including human-readable `title` and `description` for each entry. - Create, rename, edit, and delete custom roles. System roles are read-only. - List users currently assigned to a role for impact preview. Delete semantics: deleting a custom role atomically reassigns every user holding it to the system **Viewer** role; the response returns `reassigned_users_count`. All Roles endpoints require an agency-chief Basic Auth credential and the `can_use_embedded_api` flag enabled for the agency.