AuthSession
Refresh user token
Refresh the current user token
Request Body
application/json
refresh*string
The refresh token
etag?string|null
The etag of the user object
Response Body
application/json
curl -X POST "https://api.misaka.io/v3/session/refresh" \ -H "Content-Type: application/json" \ -d '{ "refresh": "string" }'{
"access": "string",
"refresh": "string",
"user_etag": "string",
"user": {
"id": 0,
"email": "user@example.com",
"avatar_url": "string",
"username": "string",
"first_name": "string",
"last_name": "string",
"display_name": "string",
"country": "ZZ",
"is_staff": true,
"whmcs_uuid": "string",
"teams": [
{
"id": 0,
"name": "string",
"is_admin": true
}
]
}
}How is this guide?
Last updated on