Skip to content

Update action set action rules

Request

PUT /v3/action-sets/{actionSetId}/actions/{actionId}/rules

Update the rules for a specific action set and action with a new set of rule IDs

Security
API_Key
Path
actionSetIdinteger, (int64)required

Action set ID

actionIdinteger, (int64)required

Action ID

Bodyapplication/jsonrequired
Array of integers, (int32), unique

Set of rule IDs to associate with the action

PUT
/v3/action-sets/{actionSetId}/actions/{actionId}/rules
curl -i -X PUT \
  'https://api.observepoint.com/v3/action-sets/{actionSetId}/actions/{actionId}/rules' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    0
  ]'

Responses

Successfully updated rules

Bodyapplication/json
Array [
idinteger, (int32)
namestring
accountIdinteger, (int32)
createdByinteger, (int32)
createdAtstring, (date-time)
updatedAtstring, (date-time)
recipientsArray of strings
checkTimesinteger, (int32)
matchAllFiltersboolean
pageFiltersArray of objects
tagsArray of objects
labelsArray of objects
fromTemplateboolean
]
Response
[ { "id": 0, "name": "string", "accountId": 0, "createdBy": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "recipients": [], "checkTimes": 0, "matchAllFilters": true, "pageFilters": [], "tags": [], "labels": [], "fromTemplate": true } ]