Update a key

This key management operation allows updating the key label or description fields.

Allowed users

Allowed

Required access scope

keymgmt:upd

Update a key

POST https://my.ence.do/api/keymgmt/update

Update a key label and descr field.

Headers

Name
Type
Description

Authorization*

String

Bearer JWT_TOKEN

Content-Type*

String

application/json

Request Body

Name
Type
Description

kid*

String

Key ID, 32 chars hex string

label

String

Label of a key

descr

String

Base64 encoded additional description

Log entries

Event
Result
Source

LOG_TYPE_FAILED_SCOPE_CHECK

LOG_RESULT_FAILED

403

LOG_TYPE_KEY_ATTRIBUTES_CHANGED

LOG_RESULT_ERROR

400

LOG_TYPE_KEY_ATTRIBUTES_CHANGED

LOG_RESULT_FAILED

406

LOG_TYPE_KEY_ATTRIBUTES_CHANGED

LOG_RESULT_OK

200

Last updated