• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
Delete shift

DELETE /v2/labor/shifts/{id}

Deletes a Shift.


Permissions
TIMECARDS_WRITE
Try in API Explorer
Name Description
id
string

Required

UUID for the Shift being deleted.

Response Fields

Name Description
errors
Error [ ]

Any errors that occurred during the request.

Examples

You are viewing an old version of the API
DELETE /v2/labor/shifts/{id}
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
curl https://connect.squareup.com/v2/labor/shifts/id0 \
  -X DELETE \
  -H 'Square-Version: 2020-09-23' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response JSON
{}

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?