Setting the file. One moment.
Subchapter 4.1
references/api-keys.mdMarkdown1 KBView on GitHub
Detailed flag specifications for resend api-keys commands.
List all API keys (IDs, names, created_at, and last_used_at — tokens never included).
Output: {"object":"list","data":[{"id":"...","name":"...","created_at":"...","last_used_at":"..."|null}]}
| Flag | Type | Required | Description |
|---|---|---|---|
--name <name> | string | Yes (non-interactive) | Key name |
--permission <perm> | string | No | full_access (default) | sending_access |
--domain-id <id> | string | No | Restrict sending_access to one domain |
Output: {"id":"...","token":"re_..."} — token shown once only.
Rename an API key.
Argument: [id] — API key ID
| Flag | Type | Required | Description |
|---|---|---|---|
--name <name> | string | Yes (non-interactive) | New key name |
Output: {"object":"api_key","id":"..."}
Argument: <id> — API key ID
| Flag | Type | Required | Description |
|---|---|---|---|
--yes | boolean | Yes (non-interactive) | Skip confirmation |
Alias: rm