POST api/auth/revoke-token

Revokes a refresh token, preventing it from being used to obtain new access tokens.

Request Information

URI Parameters

None.

Body Parameters

Request containing the refresh token to revoke.

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

Success status indicating whether the token was revoked.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.