cURL
curl --request POST \ --url https://api.example.com/auth/login \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>" } '
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "user": { "id": "usr_abc123", "email": "usuario@ejemplo.com", "name": "Juan Pérez", "role": "user", "status": "active" } }
Autentica un usuario existente y devuelve tokens de acceso.
Show Propiedades