Refresh AccessToken
POST
/oauth/token3PP obtains a new access token by refresh token.
When the access token expires, 3PP can obtain a new access token by refresh token.
请求参数
Query Params
client_id
string
required
The ID of 3PP offered by OC offline
grant_type
string
required
Fixed value "refresh_token"
refresh_token
string
required
The refresh token is from the response of "get accessToken&refreshToken" API
示例代码
Responses
OK(200)
Created(201)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 6 个月前