application/json
POST
/account/sshkey
cURL (application/json)
curl \
--request POST 'https://my.interserver.net/apiv2/account/sshkey' \
--header "X-API-KEY: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"ssh_key":""}'
curl \
--request POST 'https://my.interserver.net/apiv2/account/sshkey' \
--header "X-API-KEY: $API_KEY" \
--header "Content-Type: multipart/form-data" \
--form "ssh_key="
Request examples
{
"ssh_key": ""
}
Response examples (200)
{
"text": "Ok",
"success": true
}
Response examples (401)
{
"code": "string",
"message": "string"
}