Skip to main content
Shell Users

Update shell user Public Keys in a server

Asynchronous Request

Updates Public Keys for a shell user in a server. The list of publicKeys you pass will replace the keys currently set for the user.

PATCH
/servers/{serverSlug}/shellUsers/{shellUserId}
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

shellUserIdintegerrequired

Shell user ID to delete

Body

application/json

Updates to be made to the shell user

publicKeysinteger[]required

List of PublicKeys IDs to be assigned to the shell user

Response

application/json

Update of shell user with new publicKey list initiated

X-Callback-IDstringheader

CallbackID

createdstring

Shell user creation datetime

groupstring

Shell user group

idinteger

Shell user ID

publicKeysobject[]

Shell

shellstring

Shell

usernamestring

Username