email

We have extended the SAManage API to provide our users and partners with the ability to create, modify, or delete users in their accounts directly from the API. The recent addition to the API makes it easier to integrate with on-premise solutions and manage your user’s access from one central repository such as your current LDAP.

Getting a list of all users

This request returns a summary of all users available in the account.

GET “https://app.samanage.com/users.xml”

curl –digest -u “username:password” -H “Accept: application/vnd.samanage.v1+xml” -X GET “https://app.samanage.com/users.xml”

Creating a user

The following request will create a new user in the account. When a new user is created an activation email is sent to the user’s email requesting that he actives his new account and select a password.

POST “https://app.samanage.com/users.xml

curl –digest -u “username:password” -d “<user><email>a@d.com</email><first-name>a</first-name><last-name>b</last-name><phone>1234567890</phone><roles><helpdesk_user>1</helpdesk_user></roles></user>” -H “Content-Type:text/xml” -X POST “https://app.samanage.com/users.xml”

Updating a user

The following request will update user properties for a specific ticket.

PUT “https://app.samanage.com/users.xml

curl –digest -u “username:password” -d “<user><email>a@d.com</email><first-name>a</first-name><last-name>b</last-name><phone>1234567890</phone></user>” -H “Content-Type:text/xml” -X PUT “https://app.samanage.com/users/1518.xml”

Visit our website to learn more about the SAManage SaaS IT management API.

Related posts:

  1. New: Alert your users on new risks
  2. New: Weekly Account Summaries are here!
  3. Asset classifications and new ways to account for your IT assets
  4. New: Auto-Create Users from Google Apps
  5. ITAM Rollout Plan: Loading Your Users into SAManage

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Ready to test drive SAManage?

Take the online SAManage demo and explore a fully functional account!