Update group membership
Updates group membership.
Request schema
Path parameters
userId
stringrequired
The unique identifier for the user within the account.
example:
groupId
stringrequired
The unique identifier for the group 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/users/user_id/groups/group_id
PATCH /v1/users/user_id/groups/group_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
404
User not found
Successful response schema
code
stringrequired
Response status code
example:
message
stringrequired
Response status text
example:
{
"code": "Success",
"message": "Operation performed."
}