invalidateAccessToken

@POST(value = "invalidate")
abstract suspend fun invalidateAccessToken(): Response<Unit>

Invalidate access token This endpoint can be used to permanently invalidate an access token. Simply POST to this endpoint using a normal authenticated request, and whatever access token was used in the request will be invalid for any further requests. Responses:

  • 200: Success. The token was successfully invalidated.

  • 401: Unauthorized. This will occur if the credentials you have provided are invalid.

Return

Unit