Help Center/ Workspace/ API Reference/ Workspace APIs/ TenantClientVersion/ Exporting the Client Version User List
Updated on 2026-11-20 GMT+08:00

Exporting the Client Version User List

Function

Creates a task for exporting the client version user list. After the task is created, call the ListExportTasks API to query the task status by task ID and call the DownloadExportFile API to download the exported file. The data comes from the offline statistics table and is updated every hour.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    workspace:clientVersion:exportUsers

    List

    -

    -

    -

    -

URI

GET /v2/{project_id}/users/list-by-version/export

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

client_version

Yes

String

Client version.

os_type

Yes

String

OS type (Linux/Windows/Android/Mac).

user_name

No

String

Username (fuzzy match).

client_ip

No

String

Terminal IP address (exact match).

client_mac

No

String

Terminal MAC address (exact match).

last_connect_time_start

No

String

Start time of the most recent connection (UTC, in the ISO 8601 format, for example, 2026-07-10T03:52:37Z).

last_connect_time_end

No

String

End time of the most recent connection (UTC, in the ISO 8601 format, for example, 2026-07-10T03:52:37Z).

language

Yes

String

Language of the exported file (zh-cn/en-us).

timezone

No

String

Time zone ID (IANA time zone ID, for example, Asia/Shanghai; or UTC offset, for example, +08:00). If this parameter is not passed, the value of last_login_time in the exported file is returned in UTC format. If this parameter is passed, the value is converted based on the specified time zone.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

task_id

String

Export task ID.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Status code: 401

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Status code: 500

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

Example Requests

GET /v2/0e69423d4400f4a82f67c0059a1e4cc8/users/list-by-version/export?client_version=25.2.1.0&os_type=Windows&language=zh-cn

Example Responses

Status code: 200

{
  "task_id" : "2b31ed520xxxxxxebedb6e57xxxxxxxx"
}

Status Codes

Status Code

Description

200

OK

400

Bad Request

401

Unauthorized

500

Internal Server Error

Error Codes

See Error Codes.