---
title: "changeDeletion"
method: DELETE
path: "/api/club-spec/deletion/{clubCode}/{clubSpecId}/{deleted}"
tags: ["club-spec-club-resource"]
---

# changeDeletion

`DELETE /api/club-spec/deletion/{clubCode}/{clubSpecId}/{deleted}`

## Request

- Base URL: `https://api.ayriaclub.ir`
- URL: `https://api.ayriaclub.ir/api/club-spec/deletion/{clubCode}/{clubSpecId}/{deleted}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ayriaclub/apis/ayria-api/docs/api/club-spec/deletion/:clubCode/:clubSpecId/:deleted/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `clubCode` string, required
- `clubSpecId` integer, required
- `deleted` boolean, required

## Response `200`

OK

- ClubSpecDTO
  - `activated` boolean
  - `amount` number
  - `clubId` integer
  - `clubName` string
  - `deleted` boolean
  - `group` ClubGroupDTO
    - `clubId` integer
    - `clubName` string
    - `id` integer
    - `name` string
    - `publicId` string
  - `id` integer
  - `rewardType` 'VOUCHER' | 'SCORE'
  - `specType` 'MEMBERSHIP' | 'BIRTHDAY' | 'INVITE_FRIEND' | 'NEW_PURCHASE' | 'MONTHLY'

## Other responses

- `204`: No Content
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) - [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ayriaclub/apis/ayria-api/revisions/422df181c1dd?raw)
