Skip to Content
ReferenceAPI referenceMuted IPs

Mute an IP or range

POST
/api/v1/muted-ips

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.

Authorization

cookiesession<token>

Session cookie authentication.

Request Body

application/json
  1. body

The IP or range to mute and an optional note.

network*string

An 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.

Response Body

Document created, URL follows

application/json
  1. response

One muted IP or range.

createdAt*string
Formatdate-time
id*string
Formatuuid
network*string

The 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.

Example Request
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"}