Skip to content

Update a signal

Request

Changes an active or detected signal. Fields left out are unchanged; a null ownerId removes the owner. Giving categoryId replaces the category and any sub-category, and a subCategoryId must be given with the categoryId it belongs to. A cleared or dismissed signal cannot be changed.

Security
bearerAuth
Path
organizationIdstringrequired

Organization ID of the member accessing the resource

Example:my-organization-id
signalIdinteger, ( 0 .. 9007199254740991 ]required
Bodyapplication/jsonrequired
summarystring, non-empty
Example:"Budget cut for next year"
typeIdinteger, ( 0 .. 9007199254740991 ]
Example:2
categoryIdinteger, ( 0 .. 9007199254740991 ]
Example:5
subCategoryIdinteger, ( 0 .. 9007199254740991 ]
Example:8
ownerIdinteger or null, ( 0 .. 9007199254740991 ]
Example:12
competitorIdinteger, ( 0 .. 9007199254740991 ]
Example:4
curl -i -X PATCH \
  'https://docs.api.hook.co/_mock/v1/openapi/organizations/my-organization-id/signals/{signalId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "summary": "Budget cut for next year",
    "typeId": 2,
    "categoryId": 5,
    "subCategoryId": 8,
    "ownerId": 12,
    "competitorId": 4
  }'

Responses

Default Response