Update a policyCopy Pageput https://{hostname}/etp-config/v3/configs/{configId}/policies/{policyId}Modifies the specified policy.Path ParamsconfigIdintegerrequiredA unique identifier for the configuration.policyIdintegerrequiredA unique identifier for the policy.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. Configure the accepted use policy and set responses for known and suspected threats under the specified categories.accessConfigobjectProvides access configuration details.accessConfig objectakamaiDefinedbooleanMarks a policy as Akamai-defined.truefalseaupSettingsarray of objectsrequiredlength ≥ 0Contains the acceptable use policy settings.aupSettings*ADD objectaupSourcestringlength ≥ 1Name of acceptable use policy source for the policy.authPolicyobjectDetails of the authorization policy adopted for the policy.authPolicy objectauthenticationModestringenumSpecifies the authentication mode. Either REQUIRED, OPTIONAL, or NONE.REQUIREDOPTIONALNONEAllowed:REQUIREDOPTIONALNONEavcSettingsobjectContains the AVC setting properties.avcSettings objectbasicSettingsobjectContains the basic policy settings.basicSettings objectclassifiersobjectContains classifier details for a policy.classifiers objectcreatedBystringlength ≥ 1Name of the user who created this policy.customHeadersarray of objectslength ≥ 0Lists the policy custom header settings.customHeadersADD objectcustomRequestHeadersobjectLists the policy custom request header settings.customRequestHeaders objectdescriptionstringrequiredlength ≥ 1A description of the policy that you provide.dlpExceptionsobjectLists the DLP exceptions for the policy.dlpExceptions objectdlpSettingsarray of objectslength ≥ 0Data loss prevention (DLP) actions and details.dlpSettingsADD objectfWaasSettingsarray of objectslength ≥ 0Lists firewall as a service settings.fWaasSettingsADD objectfileTypeSettingsarray of objectslength ≥ 0Lists the filetype settings for the policy.fileTypeSettingsADD objectipaSettingsobjectContains IPA settings.ipaSettings objectmodifiedBystringlength ≥ 1Name of the user who most recently modified this policy.namestringrequiredlength ≥ 1The name of the policy.originPortsarray of stringslength ≥ 0Lists origin ports for a policy.originPortsADD stringpolicyGeneralSettingsobjectSpecifies the policy's general settings.policyGeneralSettings objectproxyHostnamestringName of proxy host machine.riskyFileHandlingSettingsobjectDescribes file handling settings.riskyFileHandlingSettings objectsafeSearchSettingsobjectContains safe search settings.safeSearchSettings objectsecuritySettingsarray of objectsrequiredlength ≥ 0Contains the policy security settings.securitySettings*ADD objectsitesarray of integerslength ≥ 0Contains associated site IDs.sitesADD integersitesInfoarray of objectslength ≥ 0Contains data about associated sites.sitesInfoADD objectsublocationInfoarray of objectslength ≥ 0Lists sublocation info.sublocationInfoADD objectsublocationsarray of integerslength ≥ 0Lists the sublocations configured for this policy.sublocationsADD integertrafficLoggingobjectProvides details of traffic logging in different modes.trafficLogging objectHeadersIf-MatchstringrequiredUse the x_etag value included in the GET response. See Concurrency control for details.Responses 200Successful 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. 412Precondition failed. Use the x_etag string returned in the response header as If-Match in write requests to avoid overwriting edits by any other API clients. See Concurrency control for details.Updated 4 months ago