(EA) Delete Shifts by Company [Batch]

🚧

Early Access API Version

This endpoint version is currently in Early Access and available only to approved early adoption (EA) participants. Do not rely on this version for production workloads unless explicitly authorized. If you have any feedback, please share with your designated Early Adoption program representative.

Summary Description

The Delete Shifts by Company endpoint removes one or more unassigned shifts in one request at the company level.

Use cases:

  • Managers can remove shifts that are no longer needed.
  • HR systems can clean up test or placeholder shifts.
  • Scheduling tools can delete expired or unclaimed shifts automatically.
Path Params
string
required

The Paylocity Company ID. This is the unique value provided by Paylocity to each specific Payroll Entity.

Body Params

A request to remove shifts.

ids
array of uuids
required
length ≄ 1

The identifiers of the shifts to remove.

ids*

Shift identifier.

Headers
string
required
Defaults to Bearer JWT_GOES_HERE

Authorization token. Ex. Bearer ...

Responses
204

No Content

401

Unauthorized

Language
LoadingLoading…
Response
Choose an example:
application/json