Vigilfield Docs
API referenceTeams

`POST /teams/{id}/users` — add a user to a team.

POST/teams/{id}/users

Path Parameters

id*string

Team id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/teams/string/users" \  -H "Content-Type: application/json" \  -d '{    "user_id": "string"  }'
{  "created_at": "string",  "description": "string",  "external_id": "string",  "external_idp_id": "string",  "id": "string",  "is_system": true,  "member_count": 0,  "member_ids": [    "string"  ],  "name": "string",  "org_id": "string",  "source": null,  "updated_at": "string"}