DELETE
/
detection
/
custom
/
{id}
Delete a custom detection
curl --request DELETE \
  --url https://api.wirespeed.co/detection/custom/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "category": "<string>",
  "description": "<string>",
  "query": "<string>",
  "lastRan": "<string>",
  "createdAt": "<string>",
  "enabled": true,
  "createdBy": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Custom detection identifier

Response

id
string
required

Unique identifier for the custom detection

name
string
required

Name of the custom detection

category
string
required

Category of the custom detection

query
string
required

Query of the custom detection

lastRan
string
required

Timestamp when the custom detection was last run

createdAt
string
required

Timestamp when the custom detection was created

enabled
boolean
required

Whether the custom detection is enabled

createdBy
string
required

Email or ID of the user who created the custom detection

description
string

Description of the custom detection