Skip to main content
PUT
/
v1
/
attestation-packs
/
{id}
/
status
Update Verification Pack Status
curl --request PUT \
  --url https://api.truthlocks.com/v1/attestation-packs/{id}/status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "status": "active"
}
'
{
  "success": true
}
Changes the status of a verification pack. Valid transitions: draft → active (enables the pack for linking to attestations), active → archived (disables the pack, existing attestation links are preserved), archived → active (re-enables the pack).

Parameters

id
uuid
required
The verification pack UUID
status
string
required
New status. Must be one of: active, draft, archived

Responses

{
  "success": true
}

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

id
string<uuid>
required

Body

application/json
status
enum<string>
required
Available options:
active,
inactive,
archived

Response

200 - application/json

Status updated

The response is of type object.