Upload new public SSH key
POST/user/ssh_keys
The operation uploads new public SSH key for the current user.
Request
Header Parameters
X-Codenow-Api-Key anyrequired
CodeNOW API Key
- application/vnd.codenow.v1+json
Body
required
title stringrequired
Possible values: >= 3 characters
and <= 30 characters
The user-defined title for public SSH key.
key stringrequired
Public SSH key.
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Public SSH key uploaded successfully
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: non-empty
{
"status": "string"
}
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.
Loading...