create_api_key
Create a new LastPing API key. The plaintext key is returned ONCE and cannot be retrieved again — store it immediately in a secret manager. Set expires_at for a short-lived key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label for the key, e.g. "github-actions". | |
| expires_at | No | Optional RFC 3339 expiry, e.g. "2026-12-31T00:00:00Z". Omit for a 90-day key, capped at the creating key's own expiry. A key can never be given a longer life than the key that creates it. |