---
title: "Delete Expected Switch"
method: DELETE
path: "/v2/org/{org}/nico/expected-switch/{expectedSwitchId}"
tags: ["Expected Switch"]
---

# Delete Expected Switch

`DELETE /v2/org/{org}/nico/expected-switch/{expectedSwitchId}`

Delete an existing Expected Switch by ID.

Org must have an Infrastructure Provider entity. User must have authorization role with `PROVIDER_ADMIN` suffix.

Infrastructure Provider must own the Expected Switch.

Alternatively, Tenant Admins with `TargetedInstanceCreation` capability can also delete Expected Switches if they have an account with the Site's Infrastructure Provider.

## Response `204`

Expected Switch deleted successfully

## Other responses

- `400` — Error response when request data cannot be validated
- `403` — Error response when user is not authorized to call an endpoint or retrieve/modify objects
- `404` — Error response when requested object is not found

---

[API](https://skmtc.dev/nvidia/apis/nvidia-infra-controller-rest-api.md) · [All operations](https://skmtc.dev/nvidia/apis/nvidia-infra-controller-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nvidia/nvidia-infra-controller-rest-api/revisions/2096eb1db2c1/schema)
