Create data agreement
Creates a data agreement: one purpose for which your organisation processes personal data, with its lawful basis, data policy and data attributes. Individuals give or refuse their consent to it through consent records.
List data agreements
Lists the data agreements of the organisation, one page at a time. Without filters the list has the current state of every data agreement, published or draft.
Read data agreement
Reads a data agreement and its latest revision. Give `revisionId` to get the data agreement as it was at that revision. For a draft, the revision in the answer is one that the server makes for the answer only (its `id` is empty).
Update data agreement
Replaces a data agreement with the body. Send the whole data agreement: a member that you leave out becomes empty. The rules of the create apply.
Delete data agreement
Deletes a data agreement. Individuals can no longer consent to it, and it leaves the lists of the individual. The server keeps its revisions, and the purpose is free for a new data agreement. The answer is the latest revision of the deleted data agreement (for a draft, a revision that the server makes for the answer only).
List data agreement revisions
Lists the revisions of a data agreement, newest first, one page at a time. Each publication or change of a published data agreement adds a revision. A draft has no revisions. Use a revision to see exactly what an individual consented to: a consent record points to the revision in `dataAgreementRevisionId`.