Autocomplete Team
- Print
- DarkLight
- PDF
Autocomplete Team
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get
/api/v1/teams.autocomplete
List the teams whose names match a given pattern.
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Query parameters
name
stringRequired
The pattern (search filter for team names).
Exampleteam
Responses
200
OK
Success
{
"teams": [
{
"_id": "Dgh2xwJ3NFKWvKSqY",
"name": "team1",
"fname": "team1",
"t": "p",
"teamId": "607e0d9b49d493189836bfac"
}
],
"success": true
}
object
teams
Array of object
object
_id
string
name
string
fname
string
t
string
teamId
string
success
boolean
401
Unauthorized
Authorization Error
{
"status": "error",
"message": "You must be logged in to do this."
}
object
status
string
message
string
Was this article helpful?