POST api/auth/refresh-token

Refreshes an access token using a refresh token.

Request Information

URI Parameters

None.

Body Parameters

Refresh token request containing the refresh token.

RefreshTokenRequestDTO
NameDescriptionTypeAdditional information
RefreshToken

string

Required

Request Formats

application/json, text/json

Sample:
{
  "refreshToken": "sample string 1"
}

application/xml, text/xml

Sample:
<RefreshTokenRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CruiseParking.Website.API.Models">
  <RefreshToken>sample string 1</RefreshToken>
</RefreshTokenRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

New access token and refresh token if successful, or error message if failed.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.