Skip to main content
PATCH
Archive or restore a record

Authorizations

Authorization
string
header
required

Human personal access token (sk-actrl-pat-...).

Headers

Idempotency-Key
string

Stable key for safely retrying this write. Reuse the same key only with the same request body; results are retained for 24 hours and conflicting reuse returns 409.

Path Parameters

id
string
required

Body

application/json
archived
boolean
required

True archives the record; false restores it.

Response

Record archive state updated.

ok
enum<boolean>
required
Available options:
true
data
object
required