async putApiKey()

in packages/enterprise-search/src/api/app/api.ts [645:657]


  async putApiKey (this: That, params: T.PutApiKeyRequest, options?: TransportRequestOptions): Promise<T.PutApiKeyResponse> {
    const {
      api_key_name,
      body,
      ...querystring
    } = params ?? {}
    return await this.transport.request<T.PutApiKeyResponse>({
      method: 'PUT',
      path: `/api/as/v1/credentials/${api_key_name}`,
      querystring,
      body: body
    }, options)
  }