Set a group manager
PUT /api/2.0/group/{groupid}/manager
Sets a user with the ID specified in the request as a group manager.
Path parameters
groupid
type: string
Group ID
Example: "string"
Request body
userid
type: string
User ID
Example: "string"
Request example
{
"userid": "string"
}
Returns
Group information. A request that is not authenticated returns 401.
Description
type: string
Example: "Description"
Name
type: string
Example: "Sample group"
Parent
type: string[]
Category
type: string
Example: "74f31a85-991b-4e9b-b9e8-ae8e80d468f5"
Id
type: string
Example: "fadd9f49-2431-4610-a518-3ca9b3843c88"
Manager
type: EmployeeWraper
Members
type: EmployeeWraper[]
Response example
{
"Description": "Description",
"Name": "Sample group",
"Parent": [
"852d4b63-997a-4bae-aa7b-89bb87d85dbf"
],
"Category": "74f31a85-991b-4e9b-b9e8-ae8e80d468f5",
"Id": "fadd9f49-2431-4610-a518-3ca9b3843c88",
"Manager": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"Members": [
{
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
}
]
}