Refresh
Exchange refreshToken for JWT tokens
Authorizations
Body
workspacestringRequired
Target workspace
refreshTokenstringRequired
Refresh token
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
POST /rest/auth/token/refresh HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"workspace": "text",
"refreshToken": "text"
}
{
"accessToken": "text",
"expiresInSeconds": 1,
"refreshToken": "text",
"refreshExpiresInSeconds": 1
}