---
title: "Delete visit"
method: DELETE
path: "/api/v2/organizations/{orgSlug}/visits/{visitId}"
tags: ["Visits"]
---

# Delete visit

`DELETE /api/v2/organizations/{orgSlug}/visits/{visitId}`

## Request

- Base URL: `https://app.officernd.com`
- URL: `https://app.officernd.com/api/v2/organizations/{orgSlug}/visits/{visitId}`
- Auth: OAuth 2
  - Authorization code: `https://identity.officernd.com/auth/authorize`
  - Client credentials
  - Token URL: `https://identity.officernd.com/auth/token` scopes: `flex.community.visits.delete`

Delete visit by id 

 Required scopes: `flex.community.visits.delete`

## Path parameters

- `visitId` string, required
- `orgSlug` string, required

## Response `200`

- VisitResultDto
  - `properties` object: An object that contains all custom properties that can be applied to the item.
  - `_id` string: The _id of the visit.
  - `member` string: The _id of the member for which the visit is being recorded.
  - `visitor` string: The _id of the visitor for which the visit is being recorded.
  - `location` string: The _id of the location for which the visit is being recorded.
  - `start` string, date-time: The start date and time of the visit.
  - `end` string, date-time: The end date and time of the visit.
  - `receptionFlow` string: The _id of the reception flow for which the visit is being recorded.

---

[API](https://skmtc.dev/officernd/apis/community-api.md) - [All operations](https://skmtc.dev/officernd/apis/community-api/llms.txt) - [OpenAPI document](https://skmtc.dev/officernd/apis/community-api/revisions/dad1b7912165?raw)
