# GET User

Used to retrieve the information of one user

**URL** : `/api.php/user/{id}`

**Method** : `GET`

**Auth required** : NO


## Success Response

**Code** : `200 OK`

**Content example**

```json
    {
        "USER_ID": "1",
        "USER_LOGIN": "loginRoot3",
        "USER_EMAIL": "toto@gmail.com",
        "USER_PASSWORD": "$2y$12$d.e18TWr661D9/spQRbE/u5HwK1yNUCDSyAlQwVGZLckBZAOofCmy",
        "USER_FIRSTNAME": "root",
        "USER_LASTNAME": "root",
        "USER_ROLE": "1"
    }
```

## Error Response

### Mauvais identifiant

**Code** : `400 Bad Request`

**Content example**

`"User not found"`
