Skip to main content
Agreement records

Delete data disclosure agreement record

DELETE/v4/config/consent/data-disclosure-agreement/{dataDisclosureAgreementTemplateRevisionId}/record/{dataDisclosureAgreementRecordId}

Deletes the copy of a data disclosure agreement record in your organisation. The record is then not in the record lists and reads, a pull data request and an access token check under it fail, and its revisions stay readable with GET .../record/{dataDisclosureAgreementRecordId}/revision/{dataDisclosureAgreementRecordRevisionId}. The copy of the other party does not change, and the service tells nobody about the delete.

The record id alone selects the record: the service does not check the template revision ID in the path.

Errors: 404 when the record 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

  • dataDisclosureAgreementTemplateRevisionIdstringrequired

    ID of the template revision of the record (dataDisclosureAgreementTemplateRevision.id). The service does not check it.

  • dataDisclosureAgreementRecordIdstringrequired

    ID of the data disclosure agreement record (id).

Response

application/json

The latest revision of the deleted record. The delete makes no new revision.

  • 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.