async putCrawlerCrawlRule()

in packages/enterprise-search/src/api/app/api.ts [265:279]


  async putCrawlerCrawlRule (this: That, params: T.PutCrawlerCrawlRuleRequest, options?: TransportRequestOptions): Promise<T.PutCrawlerCrawlRuleResponse> {
    const {
      engine_name,
      domain_id,
      crawl_rule_id,
      body,
      ...querystring
    } = params ?? {}
    return await this.transport.request<T.PutCrawlerCrawlRuleResponse>({
      method: 'PUT',
      path: `/api/as/v1/engines/${engine_name}/crawler/domains/${domain_id}/crawl_rules/${crawl_rule_id}`,
      querystring,
      body: body
    }, options)
  }