All Products
Search
Document Center

Simple Log Service:RefreshToken

Last Updated:Sep 18, 2025

Refreshes an access token using a ticket. The access token is used to call console API operations.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /token/refresh HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ticket

string

No

The logon-free ticket.

eyJ***************.eyJ******************.KUT****************

accessTokenExpirationTime

integer

No

  • The expiration time of the access token in seconds. This specifies the period during which the token is valid for accessing page API operations. The default value is 86400 seconds (one day). The value must be an integer from 0 to 86400.

  • The actual expiration time of the access token is the minimum value of accessTokenExpirationTime and expirationTime.

  • If you call this operation using Security Token Service (STS), the actual expiration time of the access token is the minimum value of accessTokenExpirationTime, expirationTime, and the STS token expiration time.

600

Response elements

Element

Type

Description

Example

headers

object

Content-Type

string

Server

string

Content-Length

string

Date

string

Connection

string

x-log-requestid

string

object

The response body.

accessToken

string

The access token.

eyJ***************.eyJ******************.KUT****************

Examples

Success response

JSON format

{
  "accessToken": "eyJ***************.eyJ******************.KUT****************"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.