def METHOD_NAME(api):
    '''
    tests the define widget option api.
    '''
    responses.add(responses.PUT,
                  f'{RE_BASE}/dashboards/13/widgets/60/options',
                  json={
                      'type': 'BigNumber',
                      'series': [
                          {
                              'dataOptions': {
                                  'duration': 10,
                                  'interval': '10',
                                  'directoryIds': [1, 2, 3],
                                  'active': True
                              },
                              'displayOptions': {
                                  'label': 'User'
                              }
                          }
                      ]
                  }
                  )
    resp = api.widgets.define_widget_options(
        dashboard_id=13,
        widget_id=60,
        chart_type='BigNumber',
        series=[
            {
                'dataOptions': {
                    'type': 'User',
                    'duration': 1,
                    'directoryIds': [1, 2, 3],
                    'active': True
                },
                'displayOptions': {
                    'label': 'label'
                }
            }
        ]
    )
    assert resp is None