Config an IP address ACL for a Delivery Domain
Create or modify an IP address validation ACL for a delivery domain.
Request
Request-Line
POST /lls/v1.0/authentication/ipAddress
Request Parameters
Body Parameters
Parameter | Type | Required | Description |
---|---|---|---|
domain | String | Mandatory | delivery domain name |
authenticationType | String | Mandatory | Authentication method. The options are as follows: white: IP address whitelist authentication. black: IP address blacklist authentication. |
ipAddressList | Array | Mandatory | Array of IP addresses. IP network segments can be added. e.g. 127.0.0.1/24 indicates that the IP network segment ranges from 127.0.0.1 to 127.0.0.255. |
Response
Response Body
Status Codes, Error Codes and Error Messages
Status Code | Error Code | Error Message |
---|---|---|
400 | LLS.Domain.Invalid | Domain name invalid. |
Examples
Create an IP address ACL for a Delivery Domain with White List
Request Body
{
"domain": "ingest.example.com",
"authenticationType": "white",
"ipAddressList": ["127.0.0.1/24", "192.168.1.0/24"]
}
Create an IP address ACL for a Delivery Domain with Black List
Request Body
{
"domain": "ingest.example.com",
"authenticationType": "black",
"ipAddressList": ["192.168.2.0/24", "192.168.3.128"]
}
Best Practices
Rate Limiting
Rate Limits
Rate limiting is posed upon the API, please kindly check your API calls to ensure complying with the rate limit below:
- 100 requests per minute
- 1000 requests per hour