Update a user membership
Updates a user role within a team in your Fivetran account
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:
Request
role
stringrequired
The role that you would like to assign to the user
example:
Http + 1.1
PATCH
https://api.fivetran.com/v1/teams/team_id/users/user_id
PATCH /v1/teams/team_id/users/user_id HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 41
{
"role": "Destination Administrator"
}
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"
}
}