User/id/MoveTo/targetId
From Oxygen.next Wiki
Contents |
[edit] Description
Moves a User to the another Team
[edit] Summary
URL: https://oxygennext.apigee.com/User/Id/MoveTo/targetId.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
targetId = Id(Guid) from the target Team
Response
XML Example (truncated)
<?xml version="1.0" encoding="utf-8" ?> <Team> <TeamLink readonly="true">https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6</TeamLink> <ParentTeam readonly="true">https://oxygennext.apigee.com/Team/00000000-0000-0000-0000-000000000000</ParentTeam> <Name>Ben</Name> <Comment /> <Delete>https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6/Delete</Delete> <ChildTeams>https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6/Teams</ChildTeams> <Users>https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6/Users</Users> <Stations>https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6/Stations</Stations> <StationGroups>https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6/StationGroups</StationGroups> <Move>https://oxygennext.apigee.com/Team/33cd5db3-2d41-4b74-a648-c54b9b83edb6/MoveTo/{targetGuid}</Move> </Team>
[edit] Usage examples
cURL (about cURL):
curl -u user:password https://oxygennext.apigee.com/Team/9b5f92fa-3435-4394-a9c8-ee3683f14334/MoveTo/4a7452ac-6g5a-424a-bf1a-73eb628480ca
Do you have an example to share in the language of your choice? Please share!
