/role-store/api/v1/users/{user_id}/authorizedkeysAsk AIpost https://example.com/role-store/api/v1/users/{user_id}/authorizedkeysRegister an authorized key for userPath Paramsuser_idstringrequiredUser IDBody ParamsnamestringrequiredName for authorized keycommentstringComment for authorized keypublic_keystringPublic key data in ssh authorized key formatnot_beforedate-timeStart of key validity periodnot_afterdate-timeEnd of key validity periodexpires_inintegerKey expiry in seconds. This is used only if not_before and not_after are empty.source_addressarray of stringssource_addressADD stringHeadersAuthorizationstringrequiredDefaults to Bearer a-proper-token-goes-hereOAuth2 tokenResponses 201Key Successfully registered 400Bad request 401Unauthorized request, OAuth2 authorization missing or invalid 403Unauthorized request, OAuth2 authorization OK but scope insufficient 404Resource not found 500Internal server errorUpdated over 4 years ago