# Delete a context (/api-reference/contexts/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

{/* This file was generated by scripts\/generate-docs.mjs. Do not edit this file directly. Regenerate with pnpm run build:docs. */}

<APIPage document={"content/openapi/novu-spec.json"} operations={[{"path":"/v2/contexts/{type}/{id}","method":"delete"}]} webhooks={[]} hasHead={false} />
