Revoke a customer link
Use this when an order is cancelled or the customer should stop seeing the shipment. The link stops opening at once and the customer's tracking emails through it stop. It is a soft delete: the link is returned with active false and url null. Revoking a link that is already revoked returns it again and changes nothing. Needs the write scope. An admin or owner may revoke any link; a member only the ones their own token made (403 revoke_not_allowed otherwise). Recorded in the audit log as made through the API.
Request
- Base URL: https://trackberry.com/api/v1
- URL: https://trackberry.com/api/v1/share_links/{id}
- Auth: HTTP bearer
Path parameters
The customer link id (shl_ prefix). An id from another organization, or with another prefix, is a 404.
Headers
The API version to build this response for, for example 2026-10-01. Optional: without it the organization's pinned version is used (and the organization is pinned to the latest version on its first request without the header). Applies to this request only. An unpublished version is a 400 with code invalid_version.
Response
The revoked customer link.
Changes
No recorded changes to this operation across all 1 revision of this API.