Tags created, updated and modified using API

Question 1:
Does NextCloud allow you to do the following using an API?

  1. Create tags
  2. Delete tags
  3. Modify tags

Question 2:
Does NextCloud allow you to prevent others from editing your tags? I.e. if you are in the Finance department, can you stop other departments from editing your tags accidentally?