Mar
9
2010

New: Manage users and account access via the API

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: Weekly Account Summaries are here!
  2. Asset classifications and new ways to account for your IT assets
  3. New: Auto-Create Users from Google Apps
  4. Extending Your Help Desk Software to End Users
  5. New: SAManage Releases an API

Leave a comment

blog comments powered by Disqus
Home
Demo
Signup
Clunkers

What is SAManage?

SAManage provides on-demand software that helps enterprises control their IT assets and deliver a better IT service.

This blog is where we share the latest with SAManage, and bring you articles on IT Management topics.

Join our Facebook Page

Archives