v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13337193.3 KB
projects

Register a public SSH key in the specified project for use with the interactive serial console feature.

post/v2/{+parent}/sshKeys

Path parameters

parentstring required

Required. The parent containing the SSH keys.

Query parameters

sshKeyIdstring

Required. The ID to use for the key, which will become the final component of the key's resource name. This value must match the regex: [a-zA-Z0-9@.-_]{1,64}

Request body

namestring

Output only. The name of this SSH key. Currently, the only valid value for the location is "global".

publicKeystring

The public SSH key. This must be in OpenSSH .authorized_keys format.

Response

Successful response