Data

Get Consent Details

Retrieves the details of a consent by session ID.

post/api/service/data/consent/details

Request body

sessionIdstring required

The ID of the data session to which the consent belongs.

Response

Returns the details of the consent

expiresAtnumber

The Epoch time in seconds at which the consent expires.

revokedAtnumber

The Epoch time in seconds at which the consent was revoked.

permissionsstring[] required

The permissions granted in this consent.

status'created' | 'authorised' | 'expired' | 'revoked' | 'failed' required

The current status of the consent.

createdAtnumber required

The Epoch time in seconds when the consent was created.

updatedAtnumber required

The Epoch time in seconds when the consent was last updated.

Changes