Skip to main content
DELETE
/
firework
/
v4
/
matching_policies
/
{policy_uuid}
/
assignments
Unassign Policy
curl --request DELETE \
  --url https://api.flare.io/firework/v4/matching_policies/{policy_uuid}/assignments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "identifier_ids": [
    123
  ],
  "clean_past_events": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}
The endpoint is still in beta and is subject to change.

Authorizations

Authorization
string
header
required

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

Path Parameters

policy_uuid
string<uuid>
required

Body

application/json
identifier_ids
integer[]
required

The IDs of the identifiers to assign the policy to

clean_past_events
boolean
default:false

Whether this policy will be applied to historical events

Response

Successful Response