User/id/Update

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Updates the data of an existing User.

[edit] Summary

URL: https://oxygennext.apigee.com/User/Id/Update.format
Formats: xml, json
Requires Authentication (about Authentication): true
HTTP Method(s): POST
API rate limited (about Rate Limiting): true

[edit] Parameters

Id = Id (Guid) from the User.

[edit] Request

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<User>
  <UserName>Ben</UserName>
  <FullName>Benjamin Wagner</FullName>
  <EMail>bw@42mediagroup.com</EMail>
  <TimeZoneKey>WEurope</TimeZoneKey>
</User>

[edit] Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<User>
  <UploadWebDavLink readonly="true">https://webdav.oxygennext.com/0a7459ac-6d6a-424a-bf1a-73eb628480ca</UploadWebDavLink>
  <UserLink readonly="true">https://oxygennext.apigee.com/User/0a7459ac-6d6a-424a-bf1a-73eb628480ca</UserLink>
  <UserName>Ben</UserName>
  <IsLockedOut>False</IsLockedOut>
  <LastActivityDate readonly="true">5/5/2008 3:43:46 PM</LastActivityDate>
  <Comment />
  <FullName>Benjamin Wagner</FullName>
  <EMail>bw@42mediagroup.com</EMail>
  <Language />
  <TeamLink readonly="true">https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6</TeamLink>
  <TimeZoneKey>WEurope</TimeZoneKey>
  <CurrentRate readonly="true">1</CurrentRate>
  <RateLimit readonly="true">1000</RateLimit>
  <Delete>https://oxygennext.apigee.com/User/0a7459ac-6d6a-424a-bf1a-73eb628480ca/Delete</Delete>
  <Move>https://oxygennext.apigee.com/User/0a7459ac-6d6a-424a-bf1a-73eb628480ca/MoveTo/{targetGuid}</Move>
</User>

[edit] Usage examples

cURL (about cURL):
curl -u user:password https://oxygennext.apigee.com/User/2f05b4cb-9106-43ef-a4d2-9e62d74ed24d/Update

Do you have an example to share in the language of your choice? Please share!