## profiles delete

Delete a profile and its stored key.

Also: `machinemail profiles rm`.

Removes the profile from the config file. The key stays valid on the server; revoke it with `machinemail api-keys delete`. On a terminal you confirm by typing the profile name; elsewhere pass —yes.

```shell
machinemail profiles delete <profile>
```

#### Arguments

| Field      | Description       |
|------------|-------------------|
| `<profile>`| `string` Required  |

Profile name

#### Examples

```shell
machinemail profiles delete old-work
machinemail profiles delete ci --yes
```

## profiles list

List profiles (keys masked).

Also: `machinemail profiles ls`.

```shell
machinemail profiles list
```

#### Examples

```shell
machinemail profiles list
machinemail profiles list --json | jq -r '.profiles[].name'
```

## profiles use

Make a profile the current one.

Also: `machinemail profiles switch`.

```shell
machinemail profiles use <profile>
```

#### Arguments

| Field      | Description       |
|------------|-------------------|
| `<profile>`| `string` Required  |

Profile name

#### Examples

```shell
machinemail profiles use work
```
