cURL
curl --request POST \ --url https://api.g2cplatform.com/v2/auth/wallet/logout \ --header 'Authorization: Bearer <token>'
{ "error": "<string>", "timestamp": "2023-11-07T05:31:56Z", "code": "RESOURCE_NOT_FOUND", "path": "<string>", "requestId": "<string>" }
Invalidate the JWT token and log out the wallet. The token will no longer be valid for API access.
JWT token obtained via wallet login. Include in Authorization header.
Logout successful