# SetUserRoleInput

<!-- generated from api/graphql/schema.graphql -->

此类型来自当前机器契约；授权和生命周期见 [认证](../authentication.md) 与 [错误和恢复](../errors.md)。

```graphql
input SetUserRoleInput {
  command_id: ID!
  user_id: ID!
  role: UserRole!
}
```
