Skip to main content

Retrieve and update user master keys

Returns the user's master keys. If this is the user's first login, there are no master keys yet and the passed masterKeys are saved.

Request Body REQUIRED
masterKeys string

the master key that was derived from the raw password (metadata-encrypted)

Responses
200

OK

Schema OPTIONAL
status boolean OPTIONAL
message string OPTIONAL
code string OPTIONAL
data object OPTIONAL
keys string OPTIONAL

the user's saved master keys, joined with "|" (metadata-encrypted)