Path parameters
-
ID of an account
GET /accounts/{account_id}/rules
curl \
-X GET https://api.clickguard.com/accounts/{account_id}/rules \
-H "X-API-KEY: $API_KEY"
Response examples (200)
"[\n {\n \"id\": \"rJ-fT14Md\",\n \"type\": \"click-frequency\",\n \"name\": \"Block non converting IPs\",\n \"active\": true,\n \"created_at\": \"2021-02-24T15:13:13.442Z\",\n \"updated_at\": \"2021-02-24T15:13:13.442Z\",\n \"activated_at\": \"2021-02-24T15:13:13.442Z\",\n \"deactivated_at\": null\n },\n ...\n]"
Response examples (200)
[
{
"id": "string",
"type": "click-frequency",
"name": "string",
"active": true,
"created_at": "2024-05-04T09:42:00+00:00",
"updated_t": "2024-05-04T09:42:00+00:00",
"activated_at": "2024-05-04T09:42:00+00:00",
"deactivated_at": "2024-05-04T09:42:00+00:00"
}
]