shlogg · Early preview
Carrie @carrie_luo1

SafeLine WAF API Token Authentication Now Supported

SafeLine WAF now supports API Token authentication for secure access. To use, create an API token in System Management and add it to the request header as "X-SLCE-API-TOKEN".

The new version of SafeLine WAF supports API Token authentication.

  
  
  Usage Requirements

You must log in using the default admin user to see this feature.
The version must be >= 6.6.0.

  
  
  How to Use

Create an API TOKEN in System Management


Make a Request
Add an extra parameter in the request header as follows:


"X-SLCE-API-TOKEN": "API Token generated by SafeLine management terminal"

    
    

    
    




  
  
  Example Reference


Python Example for Adding a Site Using API Token
import requests
import json
header = {
    "X-SLCE-API-TOKEN": "API Token generated by the Th...