Skip to main content
POST
Add an SSH public key to the signed-in user's account

Authorizations

Authorization
string
header
required

An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….

Body

application/json
name
string
required
Required string length: 1 - 100
publicKey
string
required
Required string length: 1 - 16384

Response

SSH key added successfully

success
enum<boolean>
required
Available options:
true
message
enum<string>
required
Available options:
SSH key added successfully
data
SSHKey · object
required

Schema for SSHKey model

Example: