API reference
Add an SSH key
Add a new SSH public key to the authenticated user's organization
View MarkdownPOST/keys/add
Add a new SSH public key to the authenticated user's organization
Request body
application/json
| Field | Type | Description |
|---|---|---|
nameRequired | string | |
public_keyRequired | string |
Responses
200 · OK
| Field | Type | Description |
|---|---|---|
key | thundertypes.SSHKey | |
message | string |
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
409 · Conflict
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
500 · Internal Server Error
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.