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).
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
data-agreements:delete
Path parameters
dataAgreement Id stringrequiredData agreement ID.
Example:
"6af080eb2d6fb7b6ac6efc57"
Response
The latest revision of the deleted data agreement.
idstringRevision ID. It is empty for a draft data agreement: a draft has no saved revision, so the server builds one for the answer only.
Example:
"6af080a42d6fb7b6ac6efc55"schemaName enum<string>Type of the record of this revision.
Available options:
DataAgreement,Policy,ConsentRecord,DataDisclosureAgreementTemplate,DataDisclosureAgreementRecordExample:
"Policy"objectId stringID of the record of this revision.
Example:
"6af080a42d6fb7b6ac6efc54"objectData stringThe record at this revision, as a JSON string.
signedWithout Object Id booleantruewhen the server made the hash before the record had an ID.Example:
falseserializedSnapshot stringThe JSON string that the server hashes: the revision fields (
schemaName,objectId,timestamp,authorizedByIndividualId,authorizedByOther,objectDataand more) withoutid,successorId,serializedHashandserializedSnapshot.serializedHash stringSHA-1 hash of
serializedSnapshot, in hexadecimal.Example:
"5172776ed742c08df985f58fcbe3afd641c0f862"timestampstring<date-time>Time of the change, in UTC (ISO 8601).
Example:
"2026-11-08T14:01:08Z"authorizedBy Individual Id stringNot used. Always empty.
authorizedBy Other stringID of who made the change: the admin (or the admin of the API key) for a data agreement or a policy, the individual for a consent record.
Example:
"6ae2bf74a401855d2806ab5d"successorId stringID of the next revision of the same record. Empty for the latest revision.
predecessorHash stringserializedHashof the revision before this one. Empty for the first revision.predecessorSignature stringNot used. Always empty.
organisationId stringID of the organisation that owns the record.
Example:
"6ae2bf741c3dadfeb27982ec"