v1

latestOpenAPI 3.0.02026-07-17493090.2 KB
Biome

Replace all keys for the user

put/biome/keys

Headers

Authorizationstring required

The client's authorization, which the server resolves to an identity. Currently supports Biome JWT (if Biome credentials is enabled), Cylinder JWT, and OAuth2 bearer tokens.

SplinterProtocolVersioninteger
Example:2

The protocol version which the client can understand. If not provided, the node will respond using its latest protocol version.

Request body

display_namestring

Display name for key

encrypted_private_keystring

Encrypted private key

public_keystring

Public key

user_idstring

Internal unique identifier for the user

Example request

[
  {
    "display_name": "Biome Admin Key",
    "encrypted_private_key": "XNzIjoic2VsZi1pc3N1ZWQiLCJleHAiOjE1ODAyMzkyMjh9.P8hA0ru_xriYX7qryl08ZEp86t5HD_AEVPEUXY70Ehc",
    "public_key": "026c889058c2d22558ead2c61b321634b74e705c42f890e6b7bc2c80abb4713118",
    "user_id": "f35aacc1-a9cd-4eda-b6d0-2efaddf0c8a4"
  }
]

Response

User updated successfully

messagestring

Example response

{
  "message": "Keys replaced successfully"
}