async def METHOD_NAME(
    self,
    workspace_name: str,
    administrators: Optional[List[str]] = None,
    **kwargs
) -> "models.WorkspaceAccessControlResponse":
    """Replace Admins of the Workspace.
    :param workspace_name: The name of the workspace to execute operations on.
    :type workspace_name: str
    :param administrators:
    :type administrators: list[str]
    :keyword callable cls: A custom type or function that will be passed the direct response
    :return: WorkspaceAccessControlResponse or the result of cls(response)
    :rtype: ~azure.synapse.models.WorkspaceAccessControlResponse
    :raises: ~azure.core.exceptions.HttpResponseError
    """
    cls: ClsType["models.WorkspaceAccessControlResponse"] = kwargs.pop('cls', None)
    error_map = kwargs.pop('error_map', {})
    _request = models.SetWorkspaceAdministratorsRequest(administrators=administrators)
    api_version = "2019-11-01-preview"
    # Construct URL
    url = self.METHOD_NAME.metadata['url']
    path_format_arguments = {
        'workspaceName': self._serialize.url("workspace_name", workspace_name, 'str', skip_quote=True),
        'SynapseDnsSuffix': self._serialize.url("self._config.synapse_dns_suffix", self._config.synapse_dns_suffix, 'str', skip_quote=True),
    }
    url = self._client.format_url(url, **path_format_arguments)
    # Construct parameters
    query_parameters: Dict[str, Any] = {}
    query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
    # Construct headers
    header_parameters: Dict[str, Any] = {}
    header_parameters['Accept'] = 'application/json'
    header_parameters['Content-Type'] = 'application/json'
    # Construct body
    body_content = self._serialize.body(_request, 'SetWorkspaceAdministratorsRequest')
    # Construct and send request
    request = self._client.post(url, query_parameters, header_parameters, body_content)
    pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
    response = pipeline_response.http_response
    if response.status_code not in [200]:
        map_error(status_code=response.status_code, response=response, error_map=error_map)
        raise models.ErrorResponseException.from_response(response, self._deserialize)
    deserialized = self._deserialize('WorkspaceAccessControlResponse', pipeline_response)
    if cls:
      return cls(pipeline_response, deserialized, {})
    return deserialized