Autocomplete Team
    • Dark
      Light
    • PDF

    Autocomplete Team

    • Dark
      Light
    • PDF

    Article summary

    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
    }
    Expand All
    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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.