post https://{hostname}/script-management/v1/properties//hostnames//network//policies
Creates a new policy for the specified propertyId
, hostname
, and network
. The policy request needs to include the spofConfig
object or scriptConfig
array item, but it can contain both. Only one policy can exist per hostname
. A change to the spofConfig
or scriptConfig
overwrites the existing policy. If a policy already exists with the same spofConfig
and scriptConfig
, the API responds with a 409 error and displays the existing policy.
Recipes
Create a policy for testing
Open Recipe
Go live with a policy
Open Recipe