POST v3/me/teams/{id}/captain/requests/deny

CAPTAIN — deny a pending join request. body { teamMemberId }. Gated by AssertMayDecideJoinRequests (captain, or a club's designated advisor — C006); target on the route team. Wraps TeamApi.RejectTeamMemberRequest (TeamApi.cs:390 — re-gates with the same predicate).

Request Information

Parameters

NameDescriptionAdditional information
id
team id (captain's team)

Define this parameter in the request URI.

inVO
{ teamMemberId } — the pending request row id

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "teamMemberId": "sample string 1"
}

application/xml, text/xml

Sample:
<CaptainTeamMemberInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Input">
  <teamMemberId>sample string 1</teamMemberId>
</CaptainTeamMemberInVO>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="teamMemberId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e--