---
title: "Remove a driver"
method: DELETE
path: "/drivers/{driverId}"
tags: ["Drivers"]
---

# Remove a driver

`DELETE /drivers/{driverId}`

## Request

- Base URL: `https://api.spoke.com/public/v1`
- URL: `https://api.spoke.com/public/v1/drivers/{driverId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spoke/apis/spoke-api/docs/drivers/:driverId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a driver from your team. If the driver also has dashboard access, the driver will only have their "driver" role revoked; thus not being listed among the team drivers, but will keep their dashboard access.

## Path parameters

- `driverId` string, required

## Response `204`

Driver removed successfully

## Other responses

- `400`: ID format is invalid
- `401`: Unauthorized
- `404`: The provided driver id does not exist
- `500`: An internal server error occurred
- `default`: The default error model

---

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