Loading...

GET /api/users/timeZones

If two people monitor the same fleet from different time zones, you can assign a time zone to each profile. Before adding someone or changing their time zone, request the catalog Plaspy provides for sub-users.

The response pairs each ID with a display name. Show the names in your app’s time-zone selector and send the selected entry’s key in timeZone when creating or updating the profile.

Request Details

GET /api/users/timeZones

Request Parameters

Send this request without parameters or a body.

Authentication Required

Send the access token in the Authorization: Bearer <token> header. See Authentication.

Requires an administrator with access to Users.

Example Request

GET /api/users/timeZones HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

The timeZones object maps each ID to its display name. It can include the requesting user’s time zone if it is recognized and is not already in the list. Display names may vary.

FieldTypePresenceDescription
timeZonesString mapAlwaysString mapAlwaysEach key is an available time zone ID and its value is the display name.
apiUsageIntegerAlwaysIntegerAlwaysUnits charged for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysDaily usage before the units for this request are added.

Example HTTP 200 response (excerpt)

{ "timeZones": { "UTC": "(UTC) Coordinated Universal Time" } }

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 401 if a valid Bearer token is missing.
  • HTTP 403 if the user lacks the required permission. The reason appears in error.

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:19