Add a user to a team
Assigns a user role within a team
Request schema
Path parameters
teamId
stringrequired
The unique identifier for the team within the account
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Request
user_id
stringrequired
The unique identifier of user
example:
role
string
The user's role within the team
example:
Http + 1.1
POST
https://api.fivetran.com/v1/teams/team_id/users
POST /v1/teams/team_id/users HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 52
{
"user_id": "user_id",
"role": "Team Manager"
}
Responses
201
Successful response
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
user_id
stringrequired
The unique identifier of user
example:
role
stringrequired
The user's role within the team
example:
created_at
stringrequired
The date and time the membership was created
format:
example:
{
"code": "Success",
"message": "Operation performed.",
"data": {
"user_id": "user_id",
"role": "Team Member",
"created_at": "2023-08-20T10:15:20.677566Z"
}
}