POST v2/networks/{networkid}/teams/{id}/players/{playerid}/remove
[Admin User Permission Required] remove a member from the team
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | team id |
Define this parameter in the request URI. |
| playerid | id of the player |
Define this parameter in the request URI. |
| networkid | network id |
Define this parameter in the request URI. |
| inDto | other data |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"new_captain_id": "sample string 1",
"delete_team": true,
"send_text_message": true
}
application/xml, text/xml
Sample:
<RemovePlayerInDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input.V2"> <delete_team>true</delete_team> <new_captain_id>sample string 1</new_captain_id> <send_text_message>true</send_text_message> </RemovePlayerInDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="new_captain_id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="delete_team" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="send_text_message" True --MultipartDataMediaFormatterBoundary1q2w3e--