v1

latestSwagger 2.02026-07-176096209.1 KB
v2

Add an IP or CIDR to timeout

Only usable by horde moderators

post/v2/operations/ipaddr

Headers

apikeystring required

A mod API key.

Client-Agentstring

The client name and version.

X-Fieldsstring mask

An optional fields mask

Request body

ipaddrstring required

The IP address or CIDR to add from timeout.

hoursinteger required

For how many hours to put this IP in timeout.

Example request

{
  "ipaddr": "127.0.0.1",
  "hours": 24
}

Response

Operation Completed

messagestring required

The result of this operation.