Skip to main content
POST
Accept disclosures

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

What the caller is accepting.

version
string<uuid>
required

The version the caller was shown, as returned by GET /identity/v1/disclosures. Required, and rejected if it is no longer the version in force: without it the service would record acceptance of whatever is current at the moment the request lands, which after a publish is documents the caller never saw.

Response

The acceptance on record. Accepting the same version again is a no-op and returns the original timestamp.

The recorded acceptance returned after a user accepts disclosures.

acceptedTsUtc
string<date-time>
required

When the acceptance on record was made. Unchanged by accepting the same version again.

userId
string<uuid>
required

The user who accepted.

version
string<uuid>
required

The disclosure version accepted.