code: def resync_package(owner, repo, identifier):
      
      client = get_packages_api()
  
      with catch_raise_api_exception():
          data, _, headers = client.packages_resync_with_http_info(
              owner=owner, repo=repo, identifier=identifier
          )
  
      ratelimits.maybe_rate_limit(client, headers)
      return data.slug_perm, data.slug
docs: Resync a package in a repository.