Add Group Membership
Adds a user membership in a group.
Request schema
Path parameters
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
id
stringrequired
The membership entity unique identifier
example:
role
stringrequired
The role that you would like to assign to the user
example:
Http + 1.1
POST
https://api.fivetran.com/v1/users/userId/groups
POST /v1/users/userId/groups HTTP/1.1 Accept: application/json Authorization: BasicContent-Type: application/json Host: api.fivetran.com Content-Length: 53 { "id": "group_id", "role": "Manage Connection" }
Responses
201
Successful response
400
Bad request
404
User not found
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
id
stringrequired
The membership entity unique identifier
example:
role
stringrequired
The role the user has within the entity
example:
created_at
stringrequired
The timestamp that the user created their Fivetran account
format:
example:
{ "code": "Success", "message": "Operation performed.", "data": { "id": "resource_id", "role": "Role Title", "created_at": "2024-01-01T00:00:00Z" } }