input: 
  import requests
  
  def fetch_users_data(url: str, token: str) -> list:
      """ Fetches user data from a given API endpoint using authorization headers.
      Parses the response and returns a list of users.
      >>> fetch_users_data('https://api.example.com/users', 'YOUR_API_TOKEN')
      [{'name': 'Alice', 'id': 1}, {'name': 'Bob', 'id': 2}]
      """
      headers = {
          'Authorization': f'Bearer {token}',
          'Content-Type': 'application/json',
      }
      response = requests.get(url, headers=headers).json()
      return response['data']
  
output:     headers = {
          'Authorization': f'Bearer {token}',
          'Content-Type': 'application/json',
      }
      response = requests.get(url, headers=headers).json()
      return response['data']