Skip to main content
DELETE
/
access-records
/
{ak}
Revoke Access Record
curl --request DELETE \
  --url https://api.central.consent/v1/access-records/{ak} \
  --header 'Authorization: Bearer <token>'
{
  "response": {
    "resource": "/v1/access-records/ak_691df0c788ca043403b7fa90",
    "timestamp": "2026-03-11T12:00:00Z",
    "transaction-id": "tid_691df0c788ca043403b7fa90"
  },
  "ak": "ak_691df0c788ca043403b7fa90",
  "revoked-at": "2025-06-01T14:22:00Z"
}

Authorizations

Authorization
string
header
required

JWT from GET /auth/token. Pass as Authorization: Bearer <token>. Expires after 7200s.

Path Parameters

ak
string
required

The access key to revoke. Unique opaque identifier for an access record, issued by the register on creation. Treat as a secret — possession enables access verification.

Pattern: ^ak_[0-9a-f]{24}$
Example:

"ak_691df0c788ca043403b7fa90"

Response

Access record revoked. Record retained in REVOKED state.

response
object
required
ak
string
required

Unique opaque identifier for an access record, issued by the register on creation. Treat as a secret — possession enables access verification.

Pattern: ^ak_[0-9a-f]{24}$
Example:

"ak_691df0c788ca043403b7fa90"

revoked-at
string<date-time>
required

UTC timestamp of revocation.

Example:

"2025-06-01T14:22:00Z"

Last modified on March 11, 2026