Rest API or web services to Remove or Add Privileges or Sub Roles form Job Role.
We are looking for Rest API or web services to Remove or Add Privileges or Sub Roles form Job Role. Right now we manually removing the sub roles from Role hierarchy of job role to restrict some of the privileges during the month end and add back once monthend over. So we want to automate this process by using rest API or any webservice. Please help to share if you have any.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):