---
title: "Delete Business Unit"
method: DELETE
path: "/compliance/v1/companies/{companyId}/businessUnits/{businessUnitId}"
tags: ["Business Unit"]
---

# Delete Business Unit

`DELETE /compliance/v1/companies/{companyId}/businessUnits/{businessUnitId}`

## Request

- Base URL: `dc1demogwext.paylocity.com` (relative, and the document’s source URL is not known)
- URL: `dc1demogwext.paylocity.com/compliance/v1/companies/{companyId}/businessUnits/{businessUnitId}`
- Auth: API key in header `Authorization`

> 🚧 Partner Restricted
> All background check API endpoints are restricted to background check providers that have signed a Paylocity technology partnership agreement. [Please reach out to our team](https://www.paylocity.com/contact/partner-form/) if you would like to discuss partnership opportunities.

**Summary Description**

This is used to delete a  businessUnit by companyId and specific businessUnitId for a given client

**Use Cases**

- Partner wants to delete a specific  businessUnit for a client

## Path parameters

- `companyId` string, required
- `businessUnitId` string, required

## Headers

- `testMode` boolean
- `Authorization` string, required

## Response `204`

Returns confirmation that business unit has been deleted

## Other responses

- `400`: Bad Request Error - Returns the details of the error
- `401`: Unauthorized
- `404`: Not Found - Business unit has not been found
- `415`: Unsupported Media Type - Returns the details of the error

---

[API](https://skmtc.dev/paylocity/apis/background-check-api.md) - [All operations](https://skmtc.dev/paylocity/apis/background-check-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/background-check-api/revisions/8d585de5e05e?raw)
