Actions

Remove actions the customer wrote themselves. A generated action reads here exactly as a missing one does and lands in skipped: those are declined or dismissed through the status endpoint instead, so the list keeps a record of what Peec suggested and the customer turned down.

post/actions/delete

Request

  • Base URL
    https://api.peec.ai/customer/v1
  • URL
    https://api.peec.ai/customer/v1/actions/delete
  • Auth
    • API key in header X-API-Key
    • or API key in query parameter api_key
    • or HTTP bearer

Request body

project_idstring

Required if using a company api key

action_idsstring[] required

Up to 50 action ids, from list_actions.

Example request

{
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb",
  "action_ids": [
    "01a0422f-e0c4-7820-85a1-31515a321f15"
  ]
}

Response

Per-item results

Changes