Create a classification
Requires classification:manage. The slug is derived from the name when
one is not supplied, and must be unique either way.
Authorizations
A machine credential, qk_ followed by its secret. Only a hash of the
secret is stored, so a key is displayed exactly once, when it is created
or rotated. A key reaches only the configurations it is linked to.
It may also be sent as Authorization: Bearer qk_..., which is
recognised by the prefix.
Body
Response
The new classification.
How policy statements and X-Qanapi-Classification name this label.
Users holding this clearance directly. Present on the list and fetch responses; absent after a create or an update.
Roles whose members hold this clearance. Present on the list and fetch responses; absent after a create or an update.