Is there any option to edit or create a label through an API?

(from github.com/rhayun)
i want to dynamically edit the “Included Paths” from a server side - is there any easy oprion to do that?

thanks

(from github.com/marevol)
Admin API is available.
See I/F doc.