Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request POST 'http://petfen-account.local.com:8081/api/v1/logout' \
--header 'X-Auth-Service: Bearer ' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50X2F2YXRhciI6IiIsImFjY291bnRfY29kZSI6ImUxNzdjYzFlLTY4NWUtNGIxOC1iZmNjLThjNjVmMWU4MDVmOCIsImFjY291bnRfbmFtZSI6ImFhYWEgYmJiYmIiLCJleHAiOjE3NzEwNTMxNzAsInBob25lX251bWJlciI6IjAzOTMyMjExOTEifQ.UAyzo6BEGXiXt41RdviN6G7l2DPAWKSrA2L7FlN_qDs",
"user_info": {
"username": "Randall Carter",
"first_name": "Alycia",
"last_name": "Feeney",
"email": "Wilton_Considine6@hotmail.com",
"phone_number": "(747) 875-4799",
"avatar": "https://avatars.githubusercontent.com/u/63245761",
"vip": 1,
"balance": 85992273
}
}
Modified at 2025-09-16 03:28:30