POST /v1/me/ssh-keys
Tags: account_ssh_keys
Request body
Required.
JSON
{
"$ref": "#/components/schemas/CreateAccountSshKeyRequest"
}Responses
200
JSON
{
"$ref": "#/components/schemas/AccountSshKey"
}400 — INVALID_REQUEST
401 — UNAUTHENTICATED
Code samples
TypeScript
TypeScript
import { firecase } from "@firecase/sdk";
const result = await firecase.post("/me/ssh-keys", { /* body */ });
console.log(result);Python
Python
import firecase
result = firecase.post("/me/ssh-keys", json={})
print(result)curl
Bash
curl -X POST https://api.firecase.ai/v1/me/ssh-keys \
-H "Authorization: Bearer $FIRECASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'