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

You are viewing an old version of the API
Delete timecard
V1
Square V1 APIs

We recommend using the Square API (V2) for all new development when possible. See When to use Connect V1 to learn more about working with V1 endpoints.

Deprecated
Effective February 26th, 2020

Deletes a timecard.

Timecards can also be deleted through the Square Dashboard. Deleted timecards are still accessible through Connect API endpoints, but cannot be modified. The deleted field of the Timecard object indicates whether the timecard has been deleted.

Note: By default, deleted timecards appear alongside valid timecards in results returned by the ListTimecards endpoint. To filter deleted timecards, include the deleted query parameter in the list request.

Only approved accounts can manage their employees with Square. Unapproved accounts cannot use employee management features with the API.

Permissions
TIMECARDS_WRITE

Deprecation date
2020-02-26
Retirement date
2021-02-26
Replaced by
DeleteShift
Migration guide
Name Description
timecard_id
string

Required

The ID of the timecard to delete.

Response Fields

Name Description

Examples

You are viewing an old version of the API
DELETE /v1/me/timecards/{timecard_id}
cURL
  • cURL
curl https://connect.squareup.com/v1/me/timecards/timecard_id0 \
  -X DELETE \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'

Share Feedback

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