Last modified February 12, 2025
CreateUserSession
This function will generate a one-time login URL for the specified user.
Parameter name | Type | Description | Possible Values | Example |
---|---|---|---|---|
user | String | The user name to generate a login URL for. If not specified, then a login URL for the currently logged in user will be generated | user=linuxUsername |
Example Call JETAPI
jetbackup5api -F Panel/CreateUserSession -D "user={$USERNAME}"
success: 1
message: User session created successfully
system:
version: 5.3.15.0
version_panel: 5.3.15.0
tier: RELEASE
type: Linux
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
user: {$USERNAME}
expires: 2025-02-04T21:48:32+00:00
url: https://example.com:3035/?token=aY7gWozkxtFVtjiyVMtW9E7DIvBwuFhh-c22abd28dfd79ccd0dc7473881b6e182
Example Call HTTP
https://HOST_NAME:3035/?api=1&function=Panel/CreateUserSession&user={$USERNAME}
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.