zitadel_create_user_grant
Assign roles to a user in Zitadel by creating a grant. Validates that roles exist in the project before granting access.
Instructions
Assign roles to a user by creating a grant. Validates that the roles exist in the project before granting.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The user ID to grant roles to | |
| roleKeys | Yes | Array of role keys to assign (e.g., ["admin", "app:finance"]) | |
| projectId | No | The project ID (uses default project if omitted) |