Skip to main content
PUT
Set or remove a public key for a user

Headers

X-Broker-Key
string
required

Broker API key

Body

application/json
publicKey
string | null
required

Ed25519 public key to set for the user, or null to remove it

Pattern: ^[0-9a-f]{64}$
Example:

"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2"

userId
string<uuid>
required

User identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

204 - undefined