---
title: "Delete Service Image"
method: DELETE
path: "/setup/v1/services/{id}/deleteimage"
tags: ["Services"]
---

# Delete Service Image

`DELETE /setup/v1/services/{id}/deleteimage`

Use this endpoint to permanently **Delete** a previously uploaded service image. A valid **service id** is required.

## Path parameters

- `id` string, required

## Response `200`

Success

- ServiceViewModel
  - `object` string, nullable
  - `id` string, nullable
  - `companyId` string, nullable
  - `locationId` string, nullable
  - `name` string, nullable
  - `description` string, nullable
  - `type` string, nullable
  - `imageUrl` string, nullable
  - `mediaPageUrl` string, nullable
  - `serviceGroupId` integer, nullable
  - `serviceGroupName` string, nullable
  - `calendarId` string, nullable
  - `calendarResourceGroupId` string, nullable
  - `bookingLimit` integer
  - `bookingInterval` integer
  - `bookAheadUnit` integer
  - `bookAheadValue` integer
  - `bookInAdvance` integer
  - `roundRobin` integer
  - `showOnline` boolean
  - `defaultService` boolean
  - `duration` integer
  - `durationSelect` boolean
  - `durationMin` integer
  - `durationMax` integer
  - `durationInterval` integer
  - `padding` integer
  - `consumerPadding` boolean
  - `feeAmount` number, double
  - `feeTaxable` boolean
  - `cancellationFeeAmount` number, double
  - `cancellationFeeTaxable` boolean
  - `nonRefundable` boolean
  - `dailyBookingLimitCount` integer
  - `dailyBookingLimitMinutes` integer
  - `maxBookingLimit` integer
  - `maxResourceBookingLimit` integer
  - `maxCapacity` integer
  - `maxGroupSize` integer
  - `availability` ServiceHoursViewModel
    - `mon` ServiceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `tue` ServiceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `wed` ServiceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `thu` ServiceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `fri` ServiceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `sat` ServiceHourViewModel
      - `startTime` integer
      - `endTime` integer
    - `sun` ServiceHourViewModel
      - `startTime` integer
      - `endTime` integer
  - `customFields` CustomFieldInputModel
    - `field1` string, nullable
    - `field2` string, nullable
    - `field3` string, nullable
    - `field4` string, nullable
    - `field5` string, nullable
    - `field6` string, nullable
    - `field7` string, nullable
    - `field8` string, nullable
    - `field9` string, nullable
    - `field10` string, nullable

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/revisions/c5c023458a2f/schema)
