Light Docs

Find a user by their email address

GET
/users/email/{email}

Authorization

bearerAuth

Path Parameters

email*string

Response Body

application/json

application/json

curl -X GET "http://localhost:8000/api/users/email/string"
{
  "data": {
    "id": 0,
    "name": "string",
    "email": "string",
    "role": {
      "id": 0,
      "name": "string",
      "permissions": [
        null
      ],
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z"
    }
  }
}
{
  "message": "string"
}