Retrieve user membership in a team
Returns the user role a user has within a team
Request schema
Path parameters
teamId
stringrequired
The unique identifier for the team within the account
example:
userId
stringrequired
The unique identifier for the user within the account
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Http + 1.1
GET
https://api.fivetran.com/v1/teams/team_id/users/user_id
GET /v1/teams/team_id/users/user_id HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Host: api.fivetran.com
Responses
200
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"
}
}