docs: def refresh_entitlement(owner, repo, identifier, show_tokens):
      """Refresh an entitlement in a repository."""
      client = get_entitlements_api()
  
      with catch_raise_api_exception():
          data, _, headers = client.entitlements_refresh_with_http_info(
              owner=owner, repo=repo, identifier=identifier, show_tokens=show_tokens
          )
  
      ratelimits.maybe_rate_limit(client, headers)
      return data.to_dict()