Automatically Provision User Access to 4me
It is now possible to use 4me’s REST API to automate the maintenance of people’s access rights in 4me. A simple script is all it takes to give a new employee at the service desk the roles she needs to do her work.
$ curl -u “api-token:x” -X POST -H “X-4me-Account: widget” “https://api.4me.com/v1/people/1234/permissions/weu-it?roles=specialist,service_desk_analyst”
Or, if someone is leaving the company, all his permissions can be revoked with a simple command.
$ curl -u “api-token:x” -X DELETE -H “X-4me-Account: widget” “https://api.4me.com/v1/people/1234/permissions/wdc”
The details of this new API feature can be found in the 4me Developer documentation.