---
title: "Delete a set of day passes"
method: DELETE
path: "/api/v2/organizations/{orgSlug}/passes/{passesId}"
tags: ["Passes"]
---

# Delete a set of day passes

`DELETE /api/v2/organizations/{orgSlug}/passes/{passesId}`

## Request

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

Delete a set of day passes by id 

 Required scopes: `flex.space.passes.delete`

## Path parameters

- `passesId` string, required
- `orgSlug` string, required

## Response `200`

- PassesResultDto
  - `_id` string: The _id of the set of passes.
  - `count` number: The number of passes granted.
  - `usedCount` number: The number of used passes.
  - `intervalLength` number: Determines the recurrence of the passes. Can be either "month" or "once". If unspecified the credits issued will be set as "once".
  - `startDate` string, date-time: The start date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".
  - `endDate` string, date-time: The end date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".
  - `renewDate` string, date-time: The renew date of the monthly recurring passes. Should be used only for credits with "intervalLength" set to "month".
  - `validFrom` string, date-time: The start date from which the passes are valid.
  - `validTo` string, date-time: The end date for which the passes are valid.
  - `company` string: The _id of the company with which the passes are associated.
  - `member` string: The _id of the member with which the passes are associated.
  - `isPersonal` boolean: Shows if the set of passes is for a single member or if its shared for a company.
  - `membership` string: The _id of the membership with which the passes are associated.
  - `fee` string: Shows if the set of fee is for a single member or if its shared for a company.
  - `shouldGrantActiveStatus` boolean: Shows if the set of passes grants active status to members that do not have active memberships.
  - `resourceType` string: The type of the resource associated to the set of passes.
  - `status` 'used' | 'valid' | 'expired' | 'pending': The status of the set of passes.
  - `createdAt` string, date-time: The date and time of the creation of the set of passes.
  - `createdBy` string: The user that created the set of passes.
  - `modifiedAt` string, date-time: The date and time of the last update the set of passes.
  - `modifiedBy` string: The user that last updated the set of passes.

---

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