The POST /environments/{environmentId}/flowDefinitions operation creates a new registration flow definition that includes an agreement consent action before creating the user.

A registration flow with consent includes several flow definition steps needed to register a new user and prompt for consent. There are step definitions to initiate the following actions: