Manage lists via API
Last updated
Was this helpful?
Lists can also be managed using our API.
Please check our API docs for the details of the endpoints.
GET /v1/companies/<COMPANY_ID>/lists
GET /v1/companies/<COMPANY_ID>/lists/<LIST_ID>
POST /v1/companies/<COMPANY_ID>/lists
Example payload, always use the service id 5, as that is the service for auto-provision:
{
"addresses": [],
"description": "my deny list",
"name": "my_list",
"services": [
{
"id": 5
}
]
}POST /v1/companies/<COMPANY_ID>/lists/<LIST_ID>/<IP>/<PREFIX>
Example: /v1/companies/4/lists/25/1.1.1.1/32
DELETE /v1/companies/<COMPANY_ID>/lists/<LIST_ID>/<IP>/<PREFIX>
Last updated
Was this helpful?
Was this helpful?
