Creates a new SSH key for the authenticated user.
If successful, this endpoint will return a 200 OK status.
One of the following scopes are required to use this endpoint.
The following arguments are supported for this endpoint.
Name | Type | Default Value |
---|---|---|
properties Required |
SSHKeyCreateProperties | None |
The following errors may occur during this request.
Details | HTTP status |
---|---|
An error ocurred with the input provided |
422 Unprocessable Entity |
When the request is successful, you can expect an object matching the specification below to be returned.
{ ssh_key: SSHKey { name: String sha1_fingerprint: String sha256_fingerprint: String key: String created_at: Unix Timestamp networks: [ String ] } }