web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / REST API and SharePoin...
Power Automate
Unanswered

REST API and SharePoint Search

(0) ShareShare
ReportReport
Posted on by

Hello *,

I would like to disable the following function for some SharePoint lists using the REST API:

Allow this site to appear in the search results

So far I've only gotten so far that probably "NoCrawl=true" would be the correct command.
Can anyone give me an example of how I need to set this specifically with the REST API then ?
Thanks a lot.

 

Regards

Herb

 

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @Anonymous,

     

     

    Try the example POST request below. 

    Replace the list name of this example 'Non Searchable List' by your specific list name

     

    URI

     

    _api/web/lists/getbyTitle('Non Searchable List')

     

     

    Headers

     

    {
     "Accept": "application/json;odata=verbose",
     "Content-Type": "application/json;odata=verbose",
     "If-Match": "*",
     "X-HTTP-METHOD": "MERGE"
    }

     

     

    Body

     

    {
     "__metadata": {
     "type": "SP.List"
     },
    "NoCrawl": true
    }

     

     

    nocrawltrue.png

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @Expiscornovus,

    Thanks for your example, it works for me now.

    I had problems to build up the body correctly.
    Thanks for your support.👍

     

    Regards

    Herb

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard