Step 19: Consent to agreement
POST {{authPath}}/{{envID}}/flows/{{flowID}}
To complete the agreement action, the flow service calls the POST /{{envID}}/flows/{{flowID}} endpoint operation and uses the application/vnd.pingidentity.user.consent+json custom media type in the Content-type HTTP request header to identify the action.
The action asks for a value for the accept property, which supports a value of true or false. If the submitted value is true, the user.consent action completes the flow successfully.
Request Body
{"accept"=>true}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Cookie | string | Use this for localhost |