Step 8: Assign the sign-on policy to the web application

POST {{apiPath}}/environments/{{envID}}/applications/{{customResourceAppID}}/signOnPolicyAssignments

Use the POST /environments/{{envID}}/applications/{{appID}}/signOnPolicyAssignments operation to associate the sign-on-policy with the application specified by its ID in the request URL.

The body of the request specifies the sign-on-policy ID for the policy that you want the application to use for authenticating users.

Request Body

{"priority"=>1, "signOnPolicy"=>{"id"=>"{{customResourcePolicyID}}"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring