Product Update

Automatically Provision User Access to Xurrent

Carlyn Manly
2017-05-29
1 Min Read

It is now possible to use Xurrent’s REST API to automate the maintenance of people’s access rights in Xurrent. 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-4meAccount: 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-4meAccount: widget” “https://api.4me.com/v1/people/1234/permissions/wdc”
The details of this new API feature can be found in the Xurrent Developer documentation.