Last modified October 31, 2024

getToken

This function will get the Access Token details by Token ID.
Parameters
Parameter name Type Description Possible Values Example
_id String REQUIRED The Token ID.   _id=5f890a19e55cf262863522f2

Example Call JETAPI

jetbackup5api -F panelAPI -D "call=getToken&_id={$TOKEN_ID}"
success: 1
message:
system:
  version: 5.3.3
  version_panel: 5.3.3
  tier: EDGE
  type: Linux
  retry_ms: 0
  disableui:
  dr:
  agreement_panel:
  agreement:
  licenseIssue:
data:
  _id: 650a11a2b7a6c72020078ae2
  created: 2023-09-19T21:24:50+00:00
  last_access:
  last_access_ip:
  expiry:
  description: My New Description
  ip: 127.1.1.1
  username: example2

Example Call HTTP

https://HOST_NAME:3035/?api=1&function=panelAPI&call=getToken&_id={$TOKEN_ID}