Create a Behavioral DDoS profileCopy Pagepost https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/behavioral-ddosCreates a new Behavioral DDoS profile for a specific configuration version. Products: All.Path ParamsconfigIdint64requiredA unique identifier for each configuration.versionNumberintegerrequiredA unique identifier for each version of a 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 ParamsContains details about a Behavioral DDoS profile.bypassConditionobjectExempts specific clients from being processed by the Behavioral DDoS profile.bypassCondition objectconfigIdint64Uniquely identifies the security configuration.configVersionintegerThe security configuration version.descriptionstringA description of the profile.exceptionsarray of objectslength ≥ 0The hostname and path pairs excluded from Behavioral DDoS mitigation actions.exceptionsADD objecthostnamesarray of stringsrequiredlength ≥ 1The hostnames that you want to be protected by the Behavioral DDoS profile.hostnames* stringADD stringnamestringrequiredThe profile's unique name.sensitivitystringenumrequiredSensitivity level, specify CONSERVATIVE to provide tolerance for more substantial traffic deviations, MODERATE to provide tolerance for traffic fluctuations, or STRICT for high-security environments, where minor deviations in traffic might signal a potential DDoS attack.CONSERVATIVEMODERATESTRICTAllowed:CONSERVATIVEMODERATESTRICTsensitivityOverridesarray of objectslength ≥ 0Sensitivity overrides for one or more hostname and path pairs.sensitivityOverridesADD objectsuspendobjectTemporarily disable mitigation for a specific hostname, with the flexibility to choose the duration of its suspension.suspend objectHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 201Successfully created a Behavioral DDoS profile. 400Bad request. Invalid request body or URL parameter input. 401Unauthorized. 403Forbidden. You don't have access to Behavioral DDoS profiles in this security configuration. 404Not found. Security configuration version wasn't found. 405Method not allowed. 406Not acceptable. 500Internal server error. Something went wrong on our side. Try again in a few minutes or contact support if the error persists.Updated about 1 month ago