GET v3/me/teams/{id}/captain/reassignoptions?memberId={memberId}

CAPTAIN — read the captain-reassignment options when the member being removed IS the team captain. ?memberId= the target captain's GUID. Captain-gated on the route team; the target must have a roster row on it. Wraps TeamApi.GetDeleteCaptainVM (TeamApi.cs:6262 — re-gates IsTeamAdmin) which returns [{ id, name }] candidates: "Delete_team" + every other non-nomad teammate (id = that teammate's member GUID, the newCaptainId to pass back to /captain/remove).

Request Information

Parameters

NameDescriptionAdditional information
id
team id (captain's team)

Define this parameter in the request URI.

memberId
the target captain's member GUID

Define this parameter in the request URI.

Response Information

[{ id, name }] reassignment candidates

Response body formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "objType": 0,
    "name": "sample string 2",
    "logo": "sample string 3"
  },
  {
    "id": "sample string 1",
    "objType": 0,
    "name": "sample string 2",
    "logo": "sample string 3"
  },
  {
    "id": "sample string 1",
    "objType": 0,
    "name": "sample string 2",
    "logo": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityItemOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common">
  <EntityItemOutVO>
    <id>sample string 1</id>
    <logo>sample string 3</logo>
    <name>sample string 2</name>
    <objType>Member</objType>
  </EntityItemOutVO>
  <EntityItemOutVO>
    <id>sample string 1</id>
    <logo>sample string 3</logo>
    <name>sample string 2</name>
    <objType>Member</objType>
  </EntityItemOutVO>
  <EntityItemOutVO>
    <id>sample string 1</id>
    <logo>sample string 3</logo>
    <name>sample string 2</name>
    <objType>Member</objType>
  </EntityItemOutVO>
</ArrayOfEntityItemOutVO>

multipart/form-data

Sample:

Sample not available.