Add group membership
Adds a group membership in 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
example:
default:
Request
id
stringrequired
The unique identifier for the user within the Fivetran system.
example:
role
stringrequired
The role that you would like to assign to the user
example:
Http + 1.1
POST
https://api.fivetran.com/v1/teams/team_id/groups
POST /v1/teams/team_id/groups HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 63
{
"id": "connector_id",
"role": "Connector Administrator"
}
Responses
201
Successful response
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"
}
}