# How to add and remove Security Levels for syncing purposes (through an API)?

**URL:** <https://forum.inductiveautomation.com/t/how-to-add-and-remove-security-levels-for-syncing-purposes-through-an-api/73476>\
**Category:** Ignition\
**Tags:** security\
**Created:** [May 9, 2023, 2:24pm UTC](https://forum.inductiveautomation.com/t/how-to-add-and-remove-security-levels-for-syncing-purposes-through-an-api/73476 "2023-05-09T14:24:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicky\_Goethals](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nicky\_Goethals](https://forum.inductiveautomation.com/u/Nicky_Goethals)\
**Post date:** [May 9, 2023, 2:24pm UTC](https://forum.inductiveautomation.com/t/how-to-add-and-remove-security-levels-for-syncing-purposes-through-an-api/73476/1 "2023-05-09T14:24:51Z")

</div>

Hi!

Would anyone know if there is any way to add and remove Security Levels (Security / Security Levels) through an API or System Functions?

The System Functions don't provide a way to do so that I can find:  
[https://docs.inductiveautomation.com/display/DOC81/System+Functions](https://docs.inductiveautomation.com/display/DOC81/System+Functions)

I do find some (fairly poorly) documented calls in the javadocs but that would mean creating a custom Module to expose this kind of functionality...

Kind Regards,  
Nicky

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [May 9, 2023, 2:31pm UTC](https://forum.inductiveautomation.com/t/how-to-add-and-remove-security-levels-for-syncing-purposes-through-an-api/73476/2 "2023-05-09T14:31:07Z")

</div>

> [@Nicky\_Goethals](#):
>
> I do find some (fairly poorly) documented calls in the javadocs but that would mean creating a custom Module to expose this kind of functionality...

You can use those functions in a python script, you don't necessarily have to create a module for it.
