---
title: "Unassign a technician from a work order"
method: DELETE
path: "/ctools/workorder/{workOrderId}/unassigntechnician"
tags: ["Ctools"]
---

# Unassign a technician from a work order

`DELETE /ctools/workorder/{workOrderId}/unassigntechnician`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/ctools/workorder/{workOrderId}/unassigntechnician`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/ctools/workorder/:workOrderId/unassigntechnician/delete.ts> (a function with typed inputs; its response is checked against the schema)

Unassigns a technician from the specified work order.
            <br />***Note:*** This method is only available to provider admins.

## Path parameters

- `workOrderId` integer, required

## Query parameters

- `userId` integer, required

## Response `200`

The technician is successfully unassigned from the specified work order.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.
- `401`: The request is not authorized.
- `500`: The server was unable to complete the request due to an internal error.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
