Step 4: Create an agreement
POST {{apiPath}}/environments/{{envID}}/agreements
The POST /environments/{{envID}}/agreements
operation creates a new agreement resource in the specified environment. Note that the new agreement has its enabled
property set to false
.
Request Body
{"name"=>"Agreement_{{$timestamp}}", "#description"=>"Test Description - created via CREATE Agreement request", "#reconsentPeriodDays"=>1, "enabled"=>false}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |