def delete_default_service_account(api_names_list):
  """Deletes the default service account.

  Args:
      api_names_list: the names of all resources that enable GCP APIs.

  Returns:
      A list of DM actions to remove the default project service account.
  """

  resource = [{
      'name': 'delete-default-sa',
      'action': 'gcp-types/iam-v1:iam.projects.serviceAccounts.delete',
      'metadata': {
          'dependsOn': api_names_list,
          'runtimePolicy': ['CREATE']
      },
      'properties': {
          'name': ('projects/$(ref.project.projectId)/serviceAccounts/' +
                   '$(ref.project.projectNumber)-compute@' +
                   'developer.gserviceaccount.com'),
      }
  }]

  return resource