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> <Email>string</Email> <AccessLevel>string</AccessLevel> <Brand></Brand> </User> <User> <Id>string [max length 50]</Id> <UserName>string</UserName> <FirstName>string</FirstName> <LastName>string</LastName> <Email>string</Email> <AccessLevel>string</AccessLevel> <Brand></Brand> </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> <Email>string</Email> <AccessLevel>string</AccessLevel> <Brand></Brand> </User> <User> <Id>string [max length 50]</Id> <UserName>string</UserName> <FirstName>string</FirstName> <LastName>string</LastName> <Email>string</Email> <AccessLevel>string</AccessLevel> <Brand></Brand> </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