Add SSH Key
PUT
/api/v1/nodes/{node_id}/actions/Path parameters
node_idPathstringrequiredPath parameter
node_id.
Query parameters
project_idQuerystringoptionalIdentifier of the project to scope the request to. Optional; if omitted, the account's default project is used.
- optional
- if omitted, the request is applied to the default project
example{{project_id}}apikeyQuerystringoptionalAPI key used to authenticate the request
- required
- must be a non-empty alphanumeric string
example{{api_key}}locationQuerystringoptionalSpecifies 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