curl --request POST \
--url http://localhost/api/api/logout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"status": "<string>"
}Logout a user by revoking the token from AWS Cognito
curl --request POST \
--url http://localhost/api/api/logout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"status": "<string>"
}