v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Users

Regenerate user SSH key

put/api/v2/users/{user}/gitsshkey

Path parameters

userstring required

User ID, name, or me

Response

OK

created_atstring date-time
public_keystring

PublicKey is the SSH public key in OpenSSH format. Example: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID3OmYJvT7q1cF1azbybYy0OZ9yrXfA+M6Lr4vzX5zlp\n" Note: The key includes a trailing newline (\n).

updated_atstring date-time
user_idstring uuid