teammembers

POST /api/teammembers

This endpoint retrieves the members of specified teams.

Request

Headers

Header
Value
Description

Content-Type

application/json

The content type of the request body.

X-Auth-Token

string

The authentication token of the requesting user.

X-User-Id

string

The ID of the requesting user.

Body

{
  "teamIDs": ["team1ID", "team2ID"]
}
Parameter
Type
Description

teamIDs

array

Array of team IDs to get members for.

Response

Success

{
  "body": {
    "status": "success",
    "message": "Team members attached",
    "teamMembers": ["user1ID", "user2ID"]
  }
}

Error

{
  "body": {
    "status": "error",
    "message": "Null team IDs"
  }
}

Last updated