# AssignRolesInput

Audience: Developer

**Services:** [management](https://docs.pyck.cloud/api/services/management.md)

## Fields

| Name | Type | Description |
| --- | --- | --- |
| `tenantId` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md)! |  |
| `userId` | [UUID](https://docs.pyck.cloud/api/scalars/uuid.md)! | The users row id (User.id) of the user in tenantId. For a user granted<br>the Pyck project from another organization, that is the row's own id,<br>not the token user id (User.principalID). |
| `roles` | \[String!\]! |  |
