Monday, May 29, 2017

Automatically Provision User Access to ITRP

APIIt is now possible to use ITRP's REST API to automate the maintenance of people's access rights in ITRP. 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-ITRP-Account: widget" "https://api.itrp.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-ITRP-Account: widget" "https://api.itrp.com/v1/people/1234/permissions/wdc"

The details of this new API feature can be found in the ITRP Developer documentation.

0 comments:

Post a Comment