> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a System Admin with the Houston API

### Add a System Admin

To add a user as a System Admin through the Houston API, you need the following values:

* The user's ID. To retrieve this, request the `id` value in a `users` query or run `astro workspace user list`.
* System Admin permissions.

You can then run the following query to add the user as a System Admin.

```graphql wrap theme={null}
mutation createSystemRoleBinding (
    $userId: ID! = "<user-id>"
    $role: Role! = SYSTEM_ADMIN
) {
  createSystemRoleBinding(
    userId: $userId
    role: $role
  ) {
    id
  }
}
```
