Mute an IP or range
POST
Adds an IP or CIDR range to the muted list. Stores the network in CIDR form and rejects CIDR ranges with host bits set. An invalid network or a note over the length limit gets a 400. An entry already on the list, or a full list, gets a 409. Send the body as application/json.
cookie
session<token>Session cookie authentication.
application/json- body
The IP or range to mute and an optional note.
network*stringAn IPv4 or IPv6 address, or a range in CIDR form. IPv4-mapped IPv6 addresses count as their IPv4 form.
note?|Up to 100 characters once surrounding whitespace is trimmed. Blank means none.
Document created, URL follows
application/json- response
One muted IP or range.
createdAt*stringFormat
date-timeid*stringFormat
uuidnetwork*stringThe IP or range in CIDR form, with no host bits set. A single IP uses /32 or /128.
note*|Free text about why it is muted.
curl -X POST 'https://geometrikks.example.com/api/v1/muted-ips' \ -H 'Content-Type: application/json' \ -d '{ "network": "string"}'Example Response
{ "createdAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "network": "string", "note": "string"}