SIMs (Devices)

Create a tunnel key

Creates a new tunnel key. If public_key is omitted, the server generates a 2048-bit RSA keypair and returns the private key in the response — save it immediately, it is not stored. The key type must be ssh-rsa. At most 5 enabled keys are allowed per user. If the org does not have a plan that supports device tunneling, this endpoint returns 403.

post/tunnelkeys/

Request

Request body

public_keystring

OpenSSH-format RSA public key; if omitted the server generates a keypair

Response

OK

successboolean

Indicates whether the request was successful.

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.