Step 5: Assign the sign-on policy to an application
POST {{apiPath}}/environments/{{envID}}/applications/{{samlAppID}}/signOnPolicyAssignments
To use the new sign-on policy, call the POST /environments/{{envID}}/applications/{{appID}}/signOnPolicyAssignments
operation to assign the new sign-on policy to the application specified by {{appID}}
.
The request body requires the sign-on policy property id
and an integer value for the priority
property.
Request Body
{"priority"=>1, "signOnPolicy"=>{"id"=>"{{samlPolicyID}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |