Refreshes the logon credential.

Description

The validity period of the logon credential that is specified by the LoginToken parameter is 15 minutes. If a regular user does not exit a client within 15 minutes, the logon credential for the client must be refreshed. You can call this operation to refresh the client.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes RefreshLoginToken

The operation that you want to perform. Set the value to RefreshLoginToken.

ClientId String Yes f4a0dc8e-1702-4728-9a60-95b27a35****

The ID of the client.

EndUserId String Yes alice

The username of the user.

LoginToken String Yes v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****

The logon credential.

OfficeSiteId String Yes cn-shanghai+dir-238191****

The ID of the workspace.

RegionId String Yes cn-hangzhou

The ID of the region.

SessionId String No cd45e873-650d-4d70-acb9-f996187a****

The ID of the session.

Response parameters

Parameter Type Example Description
RequestId String FE379906-08A4-5893-9C18-77C32566D944

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=RefreshLoginToken
&ClientId=f4a0dc8e-1702-4728-9a60-95b27a35****
&EndUserId=alice
&LoginToken=v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
&OfficeSiteId=cn-shanghai+dir-238191****
&RegionId=cn-hangzhou
&<Common request parameters>|

Sample success responses

XML format

<RefreshLoginTokenResponse>
      <RequestId>FE379906-08A4-5893-9C18-77C32566D944</RequestId>
</RefreshLoginTokenResponse>

JSON format

{
    "RequestId":"FE379906-08A4-5893-9C18-77C32566D944"
}