Add SSH Key
PUT
/api/v1/nodes/{node_id}/actions/Path parameters
node_idPathstringrequiredPath parameter
node_id.
Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the request
- required
- must be a non-empty alphanumeric string
example{{api_key}}locationQuerystringrequiredSpecifies the target location for the SSH key
- Must be a non-empty string
- Should be URL-encoded if it contains special characters
example{{location}}
Request body
application/json
Identifier specifying the add SSH key operation
example
add_ssh_keys- must be the string "add_ssh_keys"
- must be a non-empty string
Responses
200Successful response
HTTP status code of the operation
example
200- must be a valid HTTP status code (100-599)
- non-negative integer
Status message indicating the result of adding an SSH key
example
Success- non-empty string
- maximum length 255 characters