Skip to main content

Terminate an Agreement

Withdraw an agreement from your Software Product: revoke the CDR arrangement at the Data Holder.

DELETE /principal/{principalId}/agreement/{agreementId}

Scope: biza-au:og:agreement:delete

Implementation notes​

  • Only an ACTIVE agreement can be terminated; any other status returns 400. The agreement must belong to principalId and to your Software Product, or the call returns 403.
  • Open Gateway asks the Data Holder to revoke the CDR Data Sharing Arrangement, marks the agreement REVOKED, and sends the Consumer a withdrawal notification. It then calls your CDR end-of-life webhook. See Revoking an agreement.
  • Send x-v: 2, or x-v: 1 for the earlier payload.

Reference​

From the Open Gateway API 4.0.1. See the full reference.

Loading...