Register an SSH public key
POST/api/user/ssh-keys
Registers exactly one supported OpenSSH public key. The public key is user-owned; current organization membership derives its direct-SSH scope. ED25519 is recommended. Private keys, certificates, authorized_keys options, DSA, RSA keys below 3072 bits, duplicates, and past expiries are rejected.
Request
Responses
- 201
- 409
- 422
SSH public key registered.
Duplicate active key/name or the 20-active-key limit was reached.
The name, public key, algorithm, RSA strength, or expiry is invalid.