IP Access Control
Create a new IP access control rule
Changed onpost/ip-access-control
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/ip-access-control
- Auth: HTTP bearer
Request body
Example request
{
"action": "block",
"ip_address": "192.168.1.100",
"reason": "Malicious activity detected"
}Response
IP access control rule created
Example response
{
"created_at": "2025-10-12T12:15:47.609Z",
"updated_at": "2025-10-12T12:15:47.609Z"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning