Update Pack Status

PUThttps://sandbox-api.truthlocks.com/v1/attestation-packs/{id}/statusAuth required

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).

Path Parameters

iduuidrequired

The verification pack UUID

Body Parameters

statusstringrequired

New status. Must be one of: active, draft, archived

Defaults to active

Responses

{
  "success": true
}
PUT/v1/attestation-packs/{id}/status
Language
CredentialsHEADER
Authorization
cURL Request
Examples ▾
curl --request PUT \
  --url https://sandbox-api.truthlocks.com/v1/attestation-packs/{id}/status \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{
  "status": "active"
}'
Response

Click Try It! to send a real request, or view sample responses: