Step 8: Enable the agreement

PUT {{apiPath}}/environments/{{envID}}/agreements/{{agreeID}}

The PUT /environments/{{envID}}/agreements/{{agreementID}} operation updates the agreement resource in the specified environment to enable the agreement.

Request Body

{"name"=>"Agreement-UPDATED_{{$timestamp}}", "#description"=>"Test Description - updated via UPDATE Agreement request", "#reconsentPeriodDays"=>2, "enabled"=>true}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring