Skip to content

Clear an active signal

Request

Closes an active signal once what it flagged has been dealt with or no longer applies. Some organizations require a competitor; GET /signal-competitors lists them.

Security
bearerAuth
Path
organizationIdstringrequired

Organization ID of the member accessing the resource

Example:my-organization-id
signalIdinteger, ( 0 .. 9007199254740991 ]required
Bodyapplication/jsonrequired
outcomeIdinteger, ( 0 .. 9007199254740991 ]required
Example:3
outcomeNotesstring, non-empty
Example:"Renewed after a discount"
competitorIdinteger, ( 0 .. 9007199254740991 ]
Example:4
curl -i -X POST \
  'https://docs.api.hook.co/_mock/v1/openapi/organizations/my-organization-id/signals/{signalId}/clear' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "outcomeId": 3,
    "outcomeNotes": "Renewed after a discount",
    "competitorId": 4
  }'

Responses

Default Response