manage_api_key
Create, list, or revoke Maginary API keys to manage access. Use create to generate a new key, list to view existing keys, or revoke to invalidate an old key.
Instructions
Create, list, or revoke Maginary API keys (up to 10 per account).
Auth: pass ``email`` + ``password`` for Basic auth (onboarding), or omit
both to use the configured API key (normal operation).
Args:
action: One of ``create``, ``list``, ``revoke``.
name: Key name (required for ``create``).
key_prefix: 8-char prefix of the key to revoke (required for ``revoke``).
email: Account email (for Basic auth).
password: Account password (for Basic auth).
Returns:
For ``create``: dict with ``raw_key`` (the full key — show once, then
use ``configure_api_key`` to activate it), ``key_prefix``, ``name``.
For ``list``: dict with ``keys`` array.
For ``revoke``: success/error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | |||
| action | Yes | ||
| password | No | ||
| key_prefix | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||