Skip to main content
PATCH
Update classification

Authorizations

X-Qanapi-Authorization
string
header
required

A machine credential, qk_ followed by its secret. The first twelve characters are an indexed prefix; the rest is compared in constant time against a stored SHA-256 hash. 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.

Path Parameters

id
string
required

The classification's id, or its slug.

Body

application/json
name
string
slug
string
description
string

Response

Updated.

id
string<uuid>
required
name
string
required
slug
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
users
object[]

Users holding this clearance directly.

roles
object[]

Roles whose members hold this clearance.