v2

latestOpenAPI 3.1.02026-07-2675166192.8 KB
SSH Keys

Upload Ssh Key

post/api/v1/ssh_keys/

Request body

namestring required

The name for the key.

publicKeystring required

The public key part of the SSH key.

Response

Successful Response

idstring required

Unique identifier for the SSH key.

userIdstring required

ID of the user associated with this pod, if applicable.

namestring required

Name of the SSH key.

publicKeystring required

The public key part of the SSH key.

isPrimaryboolean required

Whether this SSH key is the primary key.

isUserKeyboolean required

Whether this a custom key uploaded by the user.

createdAtstring date-time

Timestamp when the SSH key was added.

updatedAtstring date-time

Timestamp when the SSH key was last updated.