POST /profiles/keys
Creates a new policy signing key for the authenticated user.
Authentication: Bearer token required (Authorization: Bearer <token>)
Authorization: Bearer <token>
Permission: Permissions.PROFILES_USER_UPDATE
Permissions.PROFILES_USER_UPDATE
{ "messageId": "1234567890.123456789", "key": "ed25519" }
messageId
string
Yes
Hedera message ID to associate with this key
key
No
Key type (e.g. ed25519)
ed25519
Status: 200 OK
200 OK
401 Unauthorized
Missing or invalid token
403 Forbidden
Insufficient permissions
422 Unprocessable Entity
Body or messageId is empty
500 Internal Server Error
Unexpected server failure
Last updated 2 months ago
{ "id": "63e3e5e8a01b3c001234abcd", "messageId": "1234567890.123456789", "key": "ed25519", "policyId": "63e3e5e8a01b3c001234abce", "policyName": "Example Policy" }