zitadel_grant_org_manager
Grant organization-level manager roles to a Zitadel user, defaulting to ORG_USER_MANAGER. Idempotently merges with existing roles to enable user administration.
Instructions
Grant org-level manager (administrator) role(s) to a user. For the no-super-admin pattern, grant ORG_USER_MANAGER to every Admin so they can manage any user. Idempotent: merges with any existing manager roles. Defaults to ["ORG_USER_MANAGER"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | No | Manager role keys. Default ["ORG_USER_MANAGER"] (least-privilege). ORG_OWNER = full org control. | |
| userId | Yes | The Zitadel user ID to grant manager role(s) to |