profiles · MachineMail Docs

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.

machinemail profiles delete <profile>

Arguments

Field Description
<profile> string Required

Profile name

Examples

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

profiles list

List profiles (keys masked).

Also: machinemail profiles ls.

machinemail profiles list

Examples

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

profiles use

Make a profile the current one.

Also: machinemail profiles switch.

machinemail profiles use <profile>

Arguments

Field Description
<profile> string Required

Profile name

Examples

machinemail profiles use work