---
title: "/events/{eventId}"
method: PATCH
path: "/events/{eventId}"
---

# /events/{eventId}

`PATCH /events/{eventId}`

## Request

- Base URL: `https://api.securevan.com/v4`
- URL: `https://api.securevan.com/v4/events/{eventId}`
- Auth: HTTP basic

Changes the status of an Event. Note: only the `status` property may be patched.

If the specified Event does not exist, this endpoint will return an error with HTTP Status Code `404 Not Found`.

If `isActive` is `true` but specified Event is not editable, this endpoint will return an error with HTTP Status Code `403 Forbidden`.

If successful, the endpoint responds with HTTP Status Code `204 No Content` and an empty response body.

## Path parameters

- `eventId` integer, required
- `recurrenceType` string, required

## Request body

- object
  - `eventId` integer: Required; Unique identifier of the event to be updated
  - `isActive` boolean: Required; If `true`, will restore a previously deleted Event; If `false`, the result will effectively be the same as if the Events Delete API method had been called.

## Response `204`

204

## Other responses

- `400`: 400
- `403`: 403
- `404`: 404

## Changes

- **2026-11-03** `4f2049fba5af`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ngpvan/apis/van-crm/changes/events/:eventId/patch.md)

---

[API](https://skmtc.dev/ngpvan/apis/van-crm.md) - [All operations](https://skmtc.dev/ngpvan/apis/van-crm/llms.txt) - [OpenAPI document](https://skmtc.dev/ngpvan/apis/van-crm/revisions/4f2049fba5af?raw)
