Loading...

POST /api/devices/{deviceId}/restore

Restoring a device brings the record of a retired tracker back into use on the account. For example, if you reinstall a unit that was in storage, you can select it from the deleted devices list and return it to the active fleet.

Use the tracker ID shown in that list for this request. The tracker code must be free and the account must have an available license. Once Plaspy confirms the restore, you can find the tracker in the active device list again.

Request Details

POST /api/devices/{deviceId}/restore

Request Parameters

Path parameters

ParameterTypeRequiredDescription
deviceIdStringRequiredStringYesTracker ID from the deleted-device list.

Send the identifier in the path and leave the request body empty.

Authentication Required

You need access to the devices page and must be an account administrator. Demo users cannot make changes.

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

Example Request

POST /api/devices/123456789012345/restore HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

success: true confirms that the tracker has been reactivated. You can look it up using GET /api/devices.

FieldTypePresenceDescription
successBooleanAlwaysBooleanAlwaysIn a successful response, true confirms the operation.
apiUsageIntegerAlwaysIntegerAlwaysUnits charged for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysDaily usage before the units for this request are added.

Example HTTP 200 response

{ "success": true, "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.
errorsObjectIn field validation errorsObjectIn field validation errorsIn a validation response, maps fields to their messages. The response shape depends on the error.

HTTP 400 if the device is not among the account’s deleted trackers, the code is in use, or license capacity is exhausted. If the code is in use, check DeviceId in errors. HTTP 403 if the user cannot restore devices.

Example error

{ "success": false, "error": "One of the devices was not found in the account." }
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:39