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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Limit access to Web Services page and table

(7) ShareShare
ReportReport
Posted on by 18
i delete all of these lines and still 
Users can access to web service 

Screenshot 2025-11-09 145500.png
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at
    Tables cannot be accessed directly in BC. If you want to disable all Web Service pages, you can delete all records on the page below.
     
    Thanks
    ZHU
  • Suggested answer
    OussamaSabbouh Profile Picture
    10,972 Super User 2026 Season 1 on at
    Hello,
     
    Deleting those table entries doesn’t stop access, it only removes manually published web services.
    To block users, you must either disable OData/API services in server settings (ODataServicesEnabled = false, ApiServicesEnabled = false), unpublish services from the Web Services page, or remove API/OData permissions from users.
     
    Regards,
    Oussama Sabbouh
  • Gerardo Rentería García Profile Picture
    25,545 Most Valuable Professional on at
  • Suggested answer
    RockwithNav Profile Picture
    8,846 Super User 2026 Season 1 on at
    On Web Service you can disable the Published flag and it will behave the way you want.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    21,573 Super User 2026 Season 1 on at
  • Suggested answer
    Rishabh Kanaskar Profile Picture
    6,213 Super User 2026 Season 1 on at
    Hi,
     
    Deleting table objects might not control access to the Web Services page because permissions are managed by security roles, not by object removal. Try using permission sets, not object deletion, to control access.
     
    Thanks
    Rishabh
  • Suggested answer
    Aman Kakkar Profile Picture
    2,977 Super User 2026 Season 1 on at
    Hi,
     
    If you want to restrict access to the APIs / Web Service endpoints, then Unpublish the web service. 
    • Turn off the Publish toggle. This removes the endpoint entirely.
     
    If your goal is to stop users from accessing the “Web Services” page itself in Business Central, then simply removing lines of code won’t help — because access to that page is entirely permission-based, not driven by page code. You must remove these permissions from their permission sets for Web Service page.
     
    Hope this helps.
    Aman K
  • Suggested answer
    Pallavi Phade Profile Picture
    5,292 Super User 2026 Season 1 on at
    Namaste @CU22010726-0
     
    You can delete Web Services from list page as below .
     
    Or Set published = False , which will not be accessbile to anyone 
     
    Regards
    Pallavi Phade

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,161 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,046 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 932 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans