Skip to main content

Delete a key

This key management operation allows the deletion of a key stored inside the device's secure repository.

Allowed usersUser✓Master✗ExtAuth✓
Required access scopekeymgmt:del

Delete a key​

DELETEhttps://my.ence.do/api/keymgmt/delete/{kid}

Delete a key pointed to by the KID argument.

Path Parameters​

NameTypeDescription
kid*StringKey ID, 32 hex chars

Headers​

NameTypeDescription
Authorization*StringBearer JWT_TOKEN

Response status code​

No response body.

Log entries​

EventResultSource
LOG_TYPE_FAILED_SCOPE_CHECKLOG_RESULT_FAILED403
LOG_TYPE_KEY_DELETELOG_RESULT_ERROR400
LOG_TYPE_KEY_DELETELOG_RESULT_FAILED406
LOG_TYPE_KEY_DELETELOG_RESULT_OK200