Ssh Key
SshKey
Validate a public SSH key against phpseclib
Authorizations
X-API-KeystringRequired
Body
Validate a public SSH key
stringOptional
The public SSH key that needs to be validated
Responses
200
Successful operation
application/json
statusstringOptional
OK if the validation succeeded
algorithmstringOptionalExample:
Algorithm used to generate the SSH key
ECmessagestringOptional
400
Bad Request
401
Unauthenticated
422
Unprocessable Content
post/api/v1/sshKey/validate
POST /api/v1/sshKey/validate HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 11
{
"": "text"
}{
"status": "text",
"algorithm": "EC",
"message": "text"
}Last updated
Was this helpful?