Create a new API key
POST/api/user/api-keys
Creates a new PAT or Ed25519 key pair. The plaintext key / private key PEM is returned once and never stored.
Create a new API key
curl https://racks.cash/api/user/api-keys \
-X POST{
"id": "id",
"fingerprint": "fingerprint",
"key": "key",
"publicKeyPem": "publicKeyPem"
}Returns Examples
{
"id": "id",
"fingerprint": "fingerprint",
"key": "key",
"publicKeyPem": "publicKeyPem"
}