WafAPI
WafAPI
Description
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Perferendis tempora laborum aspernatur dolorum voluptatibus quasi, minima qui facilis impedit magnam excepturi sed harum doloremque, iusto sapiente recusandae aperiam laudantium explicabo! Provident, necessitatibus dolorum excepturi modi, nihil asperiores molestias minus iure tempore repellat doloribus dicta aliquam? Maxime beatae sed commodi esse at architecto illo, quo in vero officiis expedita doloremque quae?
AccessTokenPrivate
XXXXXXXXXXDocumentation
Create WAF
PUT/waf/create/{EMAIL_ACCOUNT}
request example
{
"host": "{YOUR_DOMAINE}",
"serverAddress": "0.0.0.0",
"certificat": "",
"mode": "ESSENTIALS", // (ESSENTIALS / ALL)
"type": "CLASSIC", // (CLASSIC / PREMUIM / ENTREPRISE)
"apiDir": ""
}
headers requiert
X-PrivateAccess: {PrivateAccessToken}
X-Company: {CompanyID}
Update WAF
POST/waf/update/{EMAIL_ACCOUNT}
request example
{
"uniqueId": "" // WafID (Obligatoire),
"serverAddress": "0.0.0.0",
"certificat": "",
"mode": "ESSENTIALS", // (ESSENTIALS / ALL)
"type": "CLASSIC", // (CLASSIC / PREMUIM / ENTREPRISE)
"apiDir": ""
}
headers requiert
X-PrivateAccess: {PrivateAccessToken}
X-Company: {CompanyID}
Get WAF
GET/waf/{EMAIL_ACCOUNT}
reply example (Status: 202)
{
"host": "exemple.com",
"serverAddress": "0.0.0.0",
"certificat": "",
"mode": "ESSENTIALS", // (ESSENTIALS / ALL)
"type": "CLASSIC", // (CLASSIC / PREMUIM / ENTREPRISE)
"apiDir": ""
}
headers requiert
X-PrivateAccess: {PrivateAccessToken}
X-Company: {CompanyID}
X-Waf: {WafID}
Get Hostname to WafID
GET/waf/hostresolver/{EMAIL_ACCOUNT}
reply example (Status: 202)
{
"uniqueId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
}
headers requiert
X-PrivateAccess: {PrivateAccessToken}
X-Company: {CompanyID}
X-WafHost: {WafHostname}
Delete Waf
DELETE/waf/remove/{EMAIL_ACCOUNT}
reply example (Status: 202)
{
"success": "It's remove"
}
headers requiert
X-PrivateAccess: {PrivateAccessToken}
X-Company: {CompanyID}
X-Waf: {WafID}