Misaka.io | Docs
Misaka.io | Docs
API Documentation
Change password POST
Confirm email POSTLogout POSTRefresh user token POSTGet current user token GET
Get team members GETGet current available teams GET
List devices GET
Port info GETList ports GETPort transceiver metrics GETPort usage metrics GET
List services GET
List cross connects GET
Create IP announcements POSTDelete IP announcement DELETEGet IP announcements GETUpdate IP announcement PATCH
Lighthouse
Network Flow Timeseries POST
Event Attachments GETEvent Detail Related GETEvent List All GETEvent List Related GETEvent List Related Timeseries GET
Shield Rules List GETShield Rules Update PUT
Timezone For Location GET
Get Filter Keys GET
Batch Update PTR Records POST
Create RecordSet POSTDelete RecordSet DELETEGet RecordSet GETUpdate RecordSet PUT
Create Zone POSTDelete Zone DELETEImport Zone POSTList Zones GET
Disable DNSSEC DELETEEnable DNSSEC POSTGet DNSSEC Configuration GET
List Recordsets GET
Get Zone Settings GETUpdate Zone Settings PUT
AuthSession

Refresh user token

Refresh the current user token

POST
/v3/session/refresh

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

Logout POST

Previous Page

Get current user token GET

Next Page

curl -X POST "https://api.misaka.io/v3/session/refresh" \
  -H "Content-Type: application/json" \
  -d '{
    "refresh": "string"
  }'