Skip to main content
Agreements

Delete data disclosure agreement

DELETE/v4/config/consent/data-disclosure-agreement/{dataDisclosureAgreementTemplateId}

Deletes a data disclosure agreement template and tells your data marketplace about it. The service keeps the revisions, so the records that were signed before stay valid and readable. A revision of the deleted template stays usable for signing: POST /v4/service/consent/data-space/{organisationId}/get-verification-request still accepts its ID.

Errors: 404 when the template does not exist or is already deleted.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:data-space:delete

Path parameters

  • dataDisclosureAgreementTemplateIdstringrequired

    ID of the data disclosure agreement template (@id), 24 hexadecimal characters.

Response

application/json

The latest revision of the deleted template. For a template that was never published, the revision has an empty id.

  • revisionobject

    A locked snapshot of a data disclosure agreement template or record. The service makes a revision each time it publishes a template or changes a record. A new revision links to the one before it through predecessorHash, and the one before it gets the successorId of the new revision.