Delete data policy
Deletes a data policy. The answer is the latest revision of the deleted policy. The data agreements that copied the policy keep their copy.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
data-agreements:delete
Path parameters
policyId stringrequiredPolicy ID.
Example:
"6af080a42d6fb7b6ac6efc54"
Response
The latest revision of the deleted data policy.
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"