CREATE - Create data agreement

POST {{baseUrl}}/config/data-agreement

This endpoint creates a data agreement for an organisation. It also returns the latest revision of the created data agreement.

Request Body

{"dataAgreement"=>{"value"=>"<Error: Could not resolve allOf schema"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;dataAgreement&quot;:{&quot;value&quot;:&quot;\u003cError: Could not resolve allOf schema&quot;},&quot;revision&quot;:{&quot;authorizedByIndividualId&quot;:&quot;\u003cstring\u003e&quot;,&quot;successorId&quot;:&quot;\u003cstring\u003e&quot;}}