v1

latestOpenAPI 3.0.42026-07-2481154567.6 KB
Business Unit

Delete Business Unit

🚧 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 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
delete/compliance/v1/companies/{companyId}/businessUnits/{businessUnitId}

Path parameters

companyIdstring required

The Paylocity Company Identifier. This is the unique value provided by Paylocity to each specific Payroll Entity. Allowable Values: 9 char max

businessUnitIdstring required

Business Unit ID associated with the business unit. Required.

Headers

testModeboolean

If true all responses are mocked and generated randomly.

Authorizationstring required

Authorization token. Ex. Bearer ...

Response

Returns confirmation that business unit has been deleted