Step 4: Create the flow policy assignment
POST {{apiPath}}/environments/{{envID}}/applications/{{dvFlowAppID}}/flowPolicyAssignments
This example shows the POST {{apiPath}}/environments/{{envID}}/applications/{{appID}}/flowPolicyAssignments
operation to associate a DaVinci flow policy with your PingOne application.
In this request:
{{envID}}
represents your environment ID.{{appID}}
is theid
property of the PingOne application you created in a prior step.flowPolicy.id
is theid
property of a DaVinci flow policy you copied in the previous step.priority
indicates the order in which this flow policy is evaluated during an authentication flow relative to other flow policies (a lower number is a higher priority).The response returns the flow policy assignment information.
See the following topics to learn more:
Request Body
{"priority"=>1, "flowPolicy"=>{"id"=>"{{dvFlowPolicyID}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |