def METHOD_NAME(api):
    '''
    test to raise the exception when types of multiple agent_ids are not as defined
    '''
    with pytest.raises(TypeError) as type_error:
        api.agents.unlink('nope', 'test', scanner_id=11)
    assert len(type_error.value.args) == 1, "Test-case should raise only one validation error."
    assert type_error.value.args[0] == "agent_ids is of type str.  Expected int", \
        "Invalid type validation error for agent_ids parameter is not raised by test-case."