PUT

/api/im/keys/identity

Register/rotate Ed25519 identity key

curl -s -X PUT "$BASE/api/im/keys/identity" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "publicKey": "MCowBQYDK2VwAyEAGb1gauf6mLMplgctRzaN1YVfYmM0MO4mFEwGGGiQ8kY=",
    "derivationMode": "generated"
  }'

Request Body

FieldTypeReqDefaultDescription
publicKeystringYBase64-encoded Ed25519 public key
derivationModestring (generated | derived)Ngenerated

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test

Related Cookbooks