post https://{hostname}/script-management/v1/properties//hostnames//network//policies
Creates a new policy by overwriting the existing policy for the specified property, hostname, and network. The policy request must include at least one spofConfig
object or scriptConfig
array item. If a policy already exists with the same spofConfig
and scriptConfig
, the API responds with a 409 error that contains data for the existing policy.
Create a policy
Open Recipe