Get Team Leaders for a Team
Returns a list of users assigned to a Team and marked as Team Leader.
Request Uri:
GET /teams/{teamid}/leaders?
Response Body: (XML)
Returns a HTTP status code 200 on success with the following body.
<Users> <User> <Id>string [max length 50]</Id> <UserName>string</UserName> <FirstName>string</FirstName> <LastName>string</LastName> </User> <User> <Id>string [max length 50]</Id> <UserName>string</UserName> <FirstName>string</FirstName> <LastName>string</LastName> </User> </Users>
Get Team Administrators for a Team
Returns a list of users assigned to a Team and marked as Team Admin
Request Uri:
GET /teams/{teamid}/admins?
Response Body: (XML)
Returns a HTTP status code 200 on success with the following body.
<Users> <User> <Id>string [max length 50]</Id> <UserName>string</UserName> <FirstName>string</FirstName> <LastName>string</LastName> </User> <User> <Id>string [max length 50]</Id> <UserName>string</UserName> <FirstName>string</FirstName> <LastName>string</LastName> </User> </Users>
Promote a user to Team Leader
This assumes the user is already assigned to the team. If the user is not a member of the team you will get 404 Not Found status.
Request Uri:
PUT /teams/{teamid}/leaders/{userid}?
Response Header:
200 OK
Promote a user to Team Admin
This assumes the user is already assigned to the team. If the user is not a member of the team you will get 404 Not Found status.
Request Uri:
PUT /teams/{teamid}/admins/{userid}
Response Header:
200 OK
Demote a user from Team Leader
This assumes the user is already assigned to the team. If the user is not a member of the team you will get 404 Not Found status.
Request Uri:
DELETE /teams/{teamid}/leaders/{userid}?
Response Header:
200 OK
Demote a user from Team Administrator
This assumes the user is already assigned to the team. If the user is not a member of the team you will get 404 Not Found status.
Request Uri:
DELETE /teams/{teamid}/admins/{userid}
Response Header:
200 OK
Comments
0 comments
Article is closed for comments.