curl --request GET \
--url https://api.myidvirtual.com/account-app/:id \
--header 'Authorization: <authorization>'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "1234567",
"passwordText": "senha123",
"status": true,
"is_trial": false,
"expirationDate": "2024-12-31T23:59:59.000Z",
"packageApp": "monthly",
"user": {
"id": "user-id",
"email": "[email protected]",
"name": "João Silva",
"status": true
},
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-20T14:30:00.000Z",
"daysRemaining": 15,
"isExpired": false,
"isActive": true
}
Verifica o status e informações da conexão VPN do usuário
curl --request GET \
--url https://api.myidvirtual.com/account-app/:id \
--header 'Authorization: <authorization>'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "1234567",
"passwordText": "senha123",
"status": true,
"is_trial": false,
"expirationDate": "2024-12-31T23:59:59.000Z",
"packageApp": "monthly",
"user": {
"id": "user-id",
"email": "[email protected]",
"name": "João Silva",
"status": true
},
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-20T14:30:00.000Z",
"daysRemaining": 15,
"isExpired": false,
"isActive": true
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "1234567",
"passwordText": "senha123",
"status": true,
"is_trial": false,
"expirationDate": "2024-12-31T23:59:59.000Z",
"packageApp": "monthly",
"user": {
"id": "user-id",
"email": "[email protected]",
"name": "João Silva",
"status": true
},
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-20T14:30:00.000Z",
"daysRemaining": 15,
"isExpired": false,
"isActive": true
}
curl --location --request GET 'http://localhost:3333/account-app/123e4567-e89b-12d3-a456-426614174000' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'