---
title: chronoctl add-superadmin
description: The add-superadmin command creates a new user with superadmin status.
url: https://docs.influxdata.com/chronograf/v1/tools/chronoctl/add-superadmin/
estimated_tokens: 471
product: Chronograf
version: v1
publisher: InfluxData
canonical: https://docs.influxdata.com/chronograf/v1/tools/chronoctl/add-superadmin/
date: '2023-10-17T11:22:14-06:00'
lastmod: '2023-10-17T11:22:14-06:00'
---

The `add-superadmin` command creates a new user with superadmin status.

## Usage

```
chronoctl add-superadmin [flags]
```

## Flags

|Flag|             |                                           Description                                           |Input type|
|----|-------------|-------------------------------------------------------------------------------------------------|----------|
|`-b`|`--bolt-path`|Full path to boltDB file (e.g. `./chronograf-v1.db`)" env:“BOLT\_PATH” default:“chronograf-v1.db”|  string  |
|`-i`|   `--id`    |                                  User ID for an existing user                                   |  uint64  |
|`-n`|  `--name`   |                   User’s name. Must be Oauth-able email address or username.                    |          |
|`-p`|`--provider` |               Name of the Auth provider (e.g. Google, GitHub, auth0, or generic)                |  string  |
|`-s`| `--scheme`  |                Authentication scheme that matches auth provider (default:oauth2)                |  string  |
|`-o`|  `--orgs`   |  A comma-separated list of organizations that the user should be added to (default:“default”)   |  string  |
| Flag |  | Description | Input type |
| --- | --- | --- | --- |
| Flag |  | Description | Input type |
| -b | --bolt-path | Full path to boltDB file (e.g.  ./chronograf-v1.db )" env:“BOLT_PATH” default:“chronograf-v1.db” | string |
| -i | --id | User ID for an existing user | uint64 |
| -n | --name | User’s name. Must be Oauth-able email address or username. |  |
| -p | --provider | Name of the Auth provider (e.g. Google, GitHub, auth0, or generic) | string |
| -s | --scheme | Authentication scheme that matches auth provider (default:oauth2) | string |
| -o | --orgs | A comma-separated list of organizations that the user should be added to (default:“default”) | string |
