Loading...

GET /api/devices/deleted

A tracker taken out of service no longer appears in the active device list. If you are about to reinstall a unit you have used before, look for it among the deleted devices to find its ID and restore its record.

This request returns up to 200 deleted trackers from the account, most recently modified first. Identify the unit from its details and copy its deviceId for the restore request. Looking at the list leaves the devices in their current state.

Request Details

GET /api/devices/deleted

Request Parameters

Send the request without parameters or a body.

Authentication Required

You need access to the devices page and must be an account administrator.

Send a valid bearer token in the authorization header. See Authentication.

Example Request

GET /api/devices/deleted HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

devices is an array. Each entry can include deviceId, name, description, protocol, and deleted (date and time). The request uses one unit per returned device, with a minimum of one.

FieldTypePresenceDescription
devicesObject arrayAlwaysObject arrayAlwaysTrackers deleted from the account.
apiUsageIntegerAlwaysIntegerAlwaysUnits charged for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysDaily usage before the units for this request are added.

Fields in each deleted device

FieldTypePresenceDescription
deviceIdStringAlwaysStringAlwaysDeleted tracker ID. Use it to restore the tracker.
nameStringWhen setStringWhen setSaved device name.
descriptionStringWhen setStringWhen setSaved description, when set.
protocolStringWhen setStringWhen setTracker protocol recorded by the account.
deletedDate-timeWhen setDate-timeWhen setLast modification date and time of the deleted record.

Example HTTP 200 response

{ "devices": [ { "deviceId": "123456789012345", "name": "Unit North", "description": "Fleet example", "protocol": "GPS", "deleted": "2026-11-12T10:00:00" } ], "apiUsage": 1, "apiDailyUsage": 24 }

Errors

FieldTypePresenceDescription
successBooleanDepends on the errorBooleanDepends on the errorIn the operation errors shown here, the value is false.
errorStringDepends on the errorStringDepends on the errorMessage explaining why the request was rejected.

HTTP 403 if the user lacks page access or is not an administrator. An account with no results receives HTTP 200 with devices: [].

Example error

{ "success": false, "error": "Your user does not have permission to do this." }
Index
Questions?

We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.

We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).

Last modification: 2026-11-30 11:00:36