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 |
---|---|---|
ssh_key Required |
SSHKeyLookup | None |
ip_address Required |
String | None |
The following errors may occur during this request.
Details | HTTP status |
---|---|
The given IP address is not authorised for the given SSH key |
403 Forbidden |
When the request is successful, you can expect an object matching the specification below to be returned.
{ user_id: String }