Step 7: Create the login sign-on policy action
POST {{apiPath}}/environments/{{envID}}/signOnPolicies/{{customResourcePolicyID}}/actions
The POST /environments/{{envID}}/signOnPolicies/{{policyID}}/actions operation creates the LOGIN sign-on policy action resource, which is associated with the sign-on policy specified in the request URL. This action will prompt the user to enter a username and password at sign-on.
In this use case, the priority property in the request body is set to 1 (the highest priority) to ensure that the LOGIN action is the first sign-on action.
Request Body
{"priority"=>1, "type"=>"LOGIN"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |