Create a policyCopy Pagepost https://{hostname}/etp-config/v3/configs/{configId}/policiesCreates a new policy.Path ParamsconfigIdintegerrequiredA unique identifier for the configuration.Query ParamsaccountSwitchKeystringFor customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.Body ParamsThe security policy to assign to a site. You can configure the accepted use policy (AUP) and set responses for known and suspected threats under specified categories.aupSettingsarrayrequiredlength ≥ 0Contains the acceptable use policy settings.aupSettings*basicSettingsobjectrequiredSpecifies the basic policy settings.basicSettings objectdescriptionstringrequiredlength ≥ 1A description of the policy that you provide.namestringrequiredlength ≥ 1The name of the policy.securitySettingsarray of objectsrequiredlength ≥ 0Lists the policy security settings.securitySettings*ADD objectsitesarray of integersrequiredlength ≥ 0Lists associated site IDs.sites*ADD integerResponses 201Successful response. 400Validation error. 401Authentication error. See Get started for help setting up your API token. 403Insufficient permissions See Get started for help setting up your API token. 404Configuration not Found.Updated 4 months ago