Update ACME EAB IP Allowlist
Update the IP allowlist of ACME EAB credentials.
The allowlist restricts usage of these EAB credentials to requests originating from the specified IPs or CIDR ranges only. Full replacement: each call overwrites the previous allowlist settings.
- Passing a non-empty array → only the IPs / CIDRs in the list may use this EAB
- Passing an empty array
[]→ clears the restriction; any IP may use it
Prerequisites
- EAB credentials have been created for the certificate (
eab_kidis not empty); if not created yet, call Create EAB Credentials first
Endpoint
PUT /api/v1/certificate/acme/eab-white-ips
Host:
...
Full URL
/api/v1/certificate/acme/eab-white-ips
Request
Content-Type: application/json
Content-Length: 78
{
"service_id": "J94V73", // Certificate ID, required
"white_ips": [ // IP allowlist, full replacement
"192.168.1.100", // Single IPv4
"10.0.0.0/8", // IPv4 CIDR range
"2001:db8::1", // Single IPv6
"2001:db8::/32" // IPv6 CIDR range
]
}
Clearing the allowlist
Pass an empty array to clear the IP restriction:
{
"service_id": "J94V73",
"white_ips": []
}
After clearing, any IP may use these EAB credentials.
Response
- response
- Clearing the allowlist
- errors
HTTP/1.1 200 OK
Content-Type: application/json
{
"success": true,
"data": {
"order_id": "TA-xxxxx", // Order ID on the CA side
"eab_kid": "eab-key-xxxxx", // EAB Key Identifier
"white_ips": [ // Updated IP allowlist
"192.168.1.100",
"10.0.0.0/8",
"2001:db8::1",
"2001:db8::/32"
]
}
}
HTTP/1.1 200 OK
Content-Type: application/json
{
"success": true,
"data": {
"order_id": "TA-xxxxx",
"eab_kid": "eab-key-xxxxx",
"white_ips": [] // Empty array, meaning no IP restriction
}
}
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"success": false,
"message": "ACME EAB has not been created for this certificate yet, so the IP allowlist cannot be updated"
}
Error Codes
| HTTP Status Code | message | Meaning and Suggested Handling |
|---|---|---|
| 400 | This certificate does not support ACME EAB | The certificate vendor cannot update the IP allowlist |
| 400 | ACME EAB has not been created for this certificate yet, so the IP allowlist cannot be updated | EAB credentials have not been created yet; call Create EAB Credentials first |
| 404 | The certificate is not found | The certificate does not exist, or does not belong to the workspace associated with the current API key |
| 422 | The service ID is required | The certificate ID service_id was not provided |
| 422 | The white_ips field is required | The white_ips field was not provided (an empty array must be explicitly passed as []) |
| 422 | The white_ips may not have more than 50 items | The allowlist exceeds the limit of 50 entries |