Delete a context

Delete a context by its type and id. type and id are required fields, if the context does not exist, it returns the 404 response

DELETE
/v2/contexts/{type}/{id}

Authorization

Authorization<token>

API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".

In: header

Path Parameters

idRequiredstring

Context ID

typeRequiredstring

Context type

Header Parameters

idempotency-keystring

A header for idempotency purposes

Response Body

curl -X DELETE "https://api.novu.co/v2/contexts/string/string" \
  -H "idempotency-key: string" \
  -H "Authorization: <token>"
Empty

On this page

No Headings
Edit this page on GitHub