- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi gurus,
Wondering if better than making the security of the API we dont use on ACL, it should not be better to deactivate them, for example we have more than 200 active Scripted Rest API. Should we not deactivate them?
How to guess the ones usefull for the OOB features compared to the ones that are active in case of ???
Looking for some guidance.
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @oneveu ,
If you have many active Scripted REST APIs (e.g., 200+), it is not recommended to deactivate them blindly, as many OOB and plugin features depend on internal APIs.
Key Recommendations:
Do not deactivate first
Disabling APIs without analysis can break integrations, mobile apps, Virtual Agent, or platform features.
Always analyze usage before taking action.
Secure APIs before considering deactivation
Enforce strong authentication (OAuth/JWT where possible).
Require roles on every API.
Add script-level role checks for defense in depth.
Remove any anonymous/public access.
Identify which APIs are used
Review transaction logs (syslog_transaction) for /api//traffic.
Check OAuth Application Registry for active consumers.
Review application scope and plugin ownership.
Look at update set history and creator info.
Differentiate OOB vs Custom APIs
OOB APIs are usually scoped, protected, and tied to plugins.
Custom APIs are often in global scope, editable, or use custom prefixes.
Prioritize review of custom APIs.
Establish an API Inventory
Maintain a list with:API name
Application/scope
Business owner
Last used date
Auth method
Required roles
Status (Active/Deprecated/Retired)
Monitor before retiring
After securing, monitor usage for 30–90 days.
Tag low-use or dormant APIs.
Notify stakeholders before disabling.
Deactivate safely
Only deactivate when:No usage for 90+ days
No active OAuth clients
No known business owner
Not OOB or platform-dependent
Always test in sub-prod first.
Rule of Thumb:
If an API is authenticated and role-protected, it is already secure.
If it is unused and undocumented, plan to retire it.
If this response helps, please mark it as Accept as Solution and Helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hey @oneveu
Before deactivating any Scripted REST API, I would suggest checking the below points first:
Separate Custom vs OOB
Start with custom Scripted REST APIs. Be very careful with OOB APIs, as they may be used internally by platform features, Store apps, Mobile, Virtual Agent, or Flow Designer.
Check usage history
Review transaction logs and filter for /api/ calls over the last 30–90 days to confirm whether the endpoint is actually being used.
Search for references
Perform a global search for the API namespace in:
Flows
Script Includes
Scheduled Jobs
Widgets
Integration configurations
Use a phased approach
Instead of immediate deactivation, restrict access (e.g., admin-only) and monitor for a period. If no impact is observed, then proceed with deactivation.
*************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.
Regards
Vaishali Singh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
The security of the platform is way more likely to be compromised by something custom rather than anything oob. Not saying that everything sn made is without fault. But you are way better off focusing on anything custom built, governance of users or machine identities etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @oneveu ,
If you have many active Scripted REST APIs (e.g., 200+), it is not recommended to deactivate them blindly, as many OOB and plugin features depend on internal APIs.
Key Recommendations:
Do not deactivate first
Disabling APIs without analysis can break integrations, mobile apps, Virtual Agent, or platform features.
Always analyze usage before taking action.
Secure APIs before considering deactivation
Enforce strong authentication (OAuth/JWT where possible).
Require roles on every API.
Add script-level role checks for defense in depth.
Remove any anonymous/public access.
Identify which APIs are used
Review transaction logs (syslog_transaction) for /api//traffic.
Check OAuth Application Registry for active consumers.
Review application scope and plugin ownership.
Look at update set history and creator info.
Differentiate OOB vs Custom APIs
OOB APIs are usually scoped, protected, and tied to plugins.
Custom APIs are often in global scope, editable, or use custom prefixes.
Prioritize review of custom APIs.
Establish an API Inventory
Maintain a list with:API name
Application/scope
Business owner
Last used date
Auth method
Required roles
Status (Active/Deprecated/Retired)
Monitor before retiring
After securing, monitor usage for 30–90 days.
Tag low-use or dormant APIs.
Notify stakeholders before disabling.
Deactivate safely
Only deactivate when:No usage for 90+ days
No active OAuth clients
No known business owner
Not OOB or platform-dependent
Always test in sub-prod first.
Rule of Thumb:
If an API is authenticated and role-protected, it is already secure.
If it is unused and undocumented, plan to retire it.
If this response helps, please mark it as Accept as Solution and Helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hey @oneveu
Hope you are doing well.
Did my previous reply answer your question?
If it was helpful, please mark it as correct ✓ and close the thread 🔒. This will help other readers find the solution more easily.
Regards,
Vaishali Singh

