LIST - List all data policies

GET {{baseUrl}}/config/policies?revisionId=<string>&offset=<integer>&limit=10

This endpoint reads all data policies defined in the consent building block.

Request Params

KeyDatatypeRequiredDescription
revisionIdstringAn object with id revisionId
offsetstringRequested index for start of resources to be provided in response requested by client
limitnumberNumber of items returned per page. Requested number of resources to be provided in response requested by client

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;policies&quot;:[{&quot;thirdPartyDataSharing&quot;:&quot;\u003cbool\u003e&quot;},{&quot;thirdPartyDataSharing&quot;:&quot;\u003cbool\u003e&quot;}],&quot;pagination&quot;:{&quot;currentPage&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalItems&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalPages&quot;:&quot;\u003cinteger\u003e&quot;,&quot;limit&quot;:&quot;\u003cinteger\u003e&quot;,&quot;hasPrevious&quot;:&quot;\u003cboolean\u003e&quot;,&quot;hasNext&quot;:&quot;\u003cboolean\u003e&quot;}}