POST api/Team/SetIsAdministrator
Request Information
URI Parameters
None.
Body Parameters
SetTeamMemberIsAdministratorName | Description | Type | Additional information |
---|---|---|---|
teamId | integer |
Required |
|
userId | string |
Required |
|
value | boolean |
Required |
Request Formats
application/json, text/json, text/html
Sample:
{ "teamId": 1, "userId": "sample string 2", "value": true }
application/xml, text/xml
Sample:
<SetTeamMemberIsAdministrator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iLevel.Vitruvius.VitruviusPubLib.BindingModels.Team"> <teamId>1</teamId> <userId>sample string 2</userId> <value>true</value> </SetTeamMemberIsAdministrator>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |