POST
Add a network range to sweep

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Body

application/json
cidr
string
required
Example:

"203.0.113.0/24"

ports
integer[]
Maximum array length: 10
Required range: 1 <= x <= 65535
protocols
object

Port (as a string, one of ports) to protocol.

Example:

Response

The range, not yet swept.

range
object
required