The POST /environments/{environmentId}/signOnPolicies/{policyId}/actions operation creates a new sign-on policy action resource. The agreement property specifies the ID for the agreement to which the user must provide (or deny) consent during sign-on.

The sample shows the a sign-on policy action with the type attribute set to AGREEMENT.