Performs one of the four actions after validating the body, as the console's administrator or the management API.
action and its fields (kind, identifier, profile, keyAlg, serialHex, reason, hostName)
action
kind
identifier
profile
keyAlg
serialHex
reason
hostName
via (console or api) and req
via
console
api
req
a promise of the outcome, or a refusal with its status
Performs one of the four actions after validating the body, as the console's administrator or the management API.