# si svm

Start, stop, pause and manage an SVM

Source: https://slashinfra.com/docs/cli/svm
Last modified: 2026-11-30T16:36:19.000Z

Start, stop, pause and manage an SVM

## Usage

```bash
si svm [OPTIONS] <COMMAND>
```

## Flags

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm start

Wake an SVM

```bash
si svm start [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm stop

Stop an SVM; retain its disk

```bash
si svm stop [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm pause

Pause an SVM; retain its processes

```bash
si svm pause [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm wait

Wait until the node of an SVM reports a state for its generation

```bash
si svm wait [OPTIONS] --state <STATE> --generation <GENERATION> [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM whose observed state to wait for; omit it for the default SVM |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--state`required | `STATE` | The observed state to wait for |  |  |
| `--generation`required | `GENERATION` | The generation whose state to observe: the `generation` of the last answer |  |  |
| `--timeout` | `TIMEOUT` | The deadline in seconds, 1 to 60; 30 by default |  |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm sleep

Print the sleep policy of an SVM; set it to auto, on or timer with a duration after the mode

```bash
si svm sleep [OPTIONS] <SVM> [MODE] [DURATION]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm`required | `SVM` | The SVM whose sleep policy to show or change |  |  |
| `mode` | `MODE` | `auto` sleeps when the workload is idle; `timer` ignores background work; `on` never sleeps |  |  |
| `duration` | `DURATION` | The inactivity of `timer` mode, as 30m, 2h or seconds |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

```bash
Examples:
si svm sleep build-1
si svm sleep build-1 auto
si svm sleep build-1 on
si svm sleep build-1 timer 30m
```

## si svm github

Print the GitHub connection of an SVM; attach one by id or account, or remove it with off

```bash
si svm github [OPTIONS] <SVM> [CONNECTION]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm`required | `SVM` | The SVM whose GitHub connection to show or change |  |  |
| `connection` | `CONNECTION` | A connection id or GitHub account to attach, or off to remove it |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

```bash
Examples:
si svm github build-1
si svm github build-1 octo-org
si svm github build-1 off
```

## si svm desktop

Print the address of the remote desktop of an SVM; the first visit starts the desktop

```bash
si svm desktop [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

```bash
The page is noVNC on port 6080 of the SVM; members of its organization sign in once in the browser.
```

## si svm svc

Add, list, start, stop and read the services of an SVM

```bash
si svm svc [OPTIONS] [SVM] <COMMAND>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM whose services to manage; omit it for the default SVM |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm svc add

Add a service and start it; the command starts after --

```bash
si svm svc add [OPTIONS] <NAME> -- <PROGRAM>...
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The name of the service: letters, digits, - and _ |  |  |
| `program`required | `PROGRAM` | The program and its arguments |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--port` | `PORT` | The TCP port the service listens on; a preview waits while it is starting |  |  |
| `--needs` | `NEEDS` | Start after these services are running, as A,B |  |  |
| `--dir` | `DIR` | The working directory of the program; the user's home by default |  |  |
| `--env` | `KEY=VALUE` | A variable of the service, as KEY=VALUE; repeat it |  |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

```bash
Examples:
si svm svc add web --port 3000 -- npm start
si svm svc add api --needs db --env DEBUG=1 -- python3 server.py
```

### si svm svc ls

List the services: name, state, pid, restarts and port

```bash
si svm svc ls [OPTIONS]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm svc start

Start a service now and after every wake

```bash
si svm svc start [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The service name |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm svc stop

Stop a service; it stays stopped across a sleep

```bash
si svm svc stop [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The service name |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm svc restart

Stop a service and start it again

```bash
si svm svc restart [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The service name |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm svc rm

Delete a service and stop it

```bash
si svm svc rm [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The service name |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm svc logs

Print the log of a service

```bash
si svm svc logs [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The service name |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--follow` |  | Follow the log as it grows | false |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm schedule

Add, list, run and delete cron schedules of an SVM

```bash
si svm schedule [OPTIONS] <COMMAND>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm schedule add

Add a schedule that runs a command or puts a message into the inbox

```bash
si svm schedule add [OPTIONS] --name <NAME> --cron <CRON> [SVM] [-- <COMMAND>...]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to schedule; omit it for the default SVM |  |  |
| `command` | `COMMAND` | The command to run, after -- |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--name`required | `NAME` | The name of the schedule: lowercase letters, digits and -, unique per SVM |  |  |
| `--cron`required | `CRON` | A five-field cron; its two next fires must be at least the plan minimum apart |  |  |
| `--tz` | `TZ` | An IANA timezone; UTC by default |  |  |
| `--timeout` | `TIMEOUT` | The time limit of the command, in seconds |  |  |
| `--inbox-subject` | `SUBJECT` | The subject of an inbox message; use with --inbox-text instead of a command |  |  |
| `--inbox-text` | `TEXT` | The text of an inbox message |  |  |
| `--concurrency` | `CONCURRENCY` | `skip` refuses a fire while the previous run still runs; `allow` starts both | skip |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

```bash
Examples:
si svm schedule add build-1 --name nightly --cron '0 3 * * *' --tz Europe/Berlin -- make backup
si svm schedule add --name digest --cron '0 9 * * 1' --inbox-subject Digest --inbox-text 'The week starts'
```

### si svm schedule ls

List the schedules of an SVM with their next fire

```bash
si svm schedule ls [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM whose schedules to list; omit it for the default SVM |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm schedule rm

Delete a schedule and its run history

```bash
si svm schedule rm [OPTIONS] [SVM] [SCHEDULE]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |
| `schedule` | `SCHEDULE` | The schedule id, from si svm schedule ls |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm schedule run

Run a schedule now without moving its next fire

```bash
si svm schedule run [OPTIONS] [SVM] [SCHEDULE]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |
| `schedule` | `SCHEDULE` | The schedule id, from si svm schedule ls |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm schedule runs

List the last runs of a schedule, newest first

```bash
si svm schedule runs [OPTIONS] [SVM] [SCHEDULE]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |
| `schedule` | `SCHEDULE` | The schedule id, from si svm schedule ls |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm schedule enable

Turn the minute tick on for a schedule

```bash
si svm schedule enable [OPTIONS] [SVM] [SCHEDULE]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |
| `schedule` | `SCHEDULE` | The schedule id, from si svm schedule ls |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm schedule disable

Turn the minute tick off for a schedule; its next fire stays stored

```bash
si svm schedule disable [OPTIONS] [SVM] [SCHEDULE]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |
| `schedule` | `SCHEDULE` | The schedule id, from si svm schedule ls |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm inbox

Show or change the email inbox of an SVM

```bash
si svm inbox [OPTIONS] [SVM]
si svm inbox <COMMAND>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM whose inbox to show; omit it when a subcommand follows |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox enable

Turn the inbox on; the senders of its rule may then mail the SVM

```bash
si svm inbox enable [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox disable

Turn the inbox off; mail to it is rejected at SMTP

```bash
si svm inbox disable [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox senders

Set the senders that may mail the SVM: any by default, or the exact addresses that are allowed

```bash
si svm inbox senders [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--none` |  | Refuse every sender | false |  |
| `--allow` | `ADDRESS` | An exact sender address that may mail the SVM; repeat it |  |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox webhook

Set or remove the webhook that receives each message

```bash
si svm inbox webhook [OPTIONS] [SVM] [URL]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM to use; defaults to the one set with si use |  |  |
| `url` | `URL` | The HTTPS URL that receives each message as a POST |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--remove` |  | Remove the webhook instead of setting one | false |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox telegram

Connect a Telegram bot to the inbox, pair a user or set the allowed users

```bash
si svm inbox telegram [OPTIONS] [SVM] <COMMAND>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM whose bot to manage; omit it for the default SVM |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox telegram connect

Connect a bot; the token comes from a file or standard input, never from a command-line argument

```bash
si svm inbox telegram connect [OPTIONS]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--token-file` | `FILE` | The file that holds the bot token; without it the token is read from standard input |  |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox telegram disconnect

Remove the bot, its webhook and its token

```bash
si svm inbox telegram disconnect [OPTIONS]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox telegram pair

Make a new pairing code: the user sends `/start <code>` to the bot

```bash
si svm inbox telegram pair [OPTIONS]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm inbox telegram users

Replace the numeric Telegram user ids that may send to the inbox

```bash
si svm inbox telegram users [OPTIONS] [ID]...
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `ids` | `ID` | A numeric Telegram user id; repeat it. Omit all ids to clear the list |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

## si svm grant

Mint a scoped SVM API grant to share, or end every grant of an SVM

```bash
si svm grant [OPTIONS] <COMMAND>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

### si svm grant create

Mint a grant that admits these methods and paths; print its link

```bash
si svm grant create [OPTIONS] --method <METHOD> --path <GLOB> [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM that the grant reaches; omit it for the default SVM |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--method`required | `METHOD` | An HTTP method that the grant admits; repeat it |  |  |
| `--path`required | `GLOB` | A path glob in the SVM: `*` stays in one segment, `**` crosses them; repeat it |  |  |
| `--arg` | `VALUE` | An exact `arg` value that a run must carry, in order; repeat it |  |  |
| `--ttl` | `DURATION` | The life of the grant, as 1h, 7d or seconds. The default is one hour; the plan caps it |  |  |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |

```bash
Examples:
si svm grant create build-1 --method GET --path '/home/user/out/**'
si svm grant create --method GET --method HEAD --path '/home/user/site/**' --ttl 7d
si svm grant create build-1 --method POST --path /bin/bash --arg -c --arg 'make test'
```

### si svm grant rotate

End every SVM API grant of the SVM: their links answer 401

```bash
si svm grant rotate [OPTIONS] [SVM]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `svm` | `SVM` | The SVM whose grants to end; omit it for the default SVM |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--project` | `PROJECT` | The project of the command: an id or a name; `SI_PROJECT` when the flag is absent |  | SI_PROJECT |
| `--help` |  | Print help |  |  |
