Admin
Teams

Search fans to add as a team member (admin)

Changed on

Gate: canManageTeam with owner or legacy admin on the team, or platform admin/superadmin (the same set as Add team member). Editors, viewers and outsiders get 403; anonymous 401. q is trimmed, 2-50 chars, matched case-insensitively against handle and name only (never email), with % and _ literal. limit is an integer 1-10, default 5; out-of-range values are 400 VALIDATION_ERROR, not clamped. Fans who already hold a TeamAdmin row on the team are excluded. Ordered by handle ascending, unpaged. Each row is { id, handle, name, profileUrl }; email is never returned. Limited to 30 requests per 60s per caller once the gate passes (429 RATE_LIMITED); a limiter outage fails closed (503 RATE_LIMITER_UNAVAILABLE). Every response is Cache-Control: private, no-store.

get/api/admin/teams/{teamId}/members/candidates

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Path parameters

teamIdstring required

Team id or slug.

Query parameters

qstring required

Search text, trimmed, matched against handle and name.

limitinteger

Response

{ success, data: FanCandidate[] }

successboolean

Changes