List all group memberships
Returns all group membership objects for a user within your Fivetran account.
Request schema
Path parameters
userId
stringrequired
The unique identifier for the user within the account.
example:
Query parameters
cursor
string
Paging cursor, read more about pagination
example:
limit
integer
Number of records to fetch per page. Accepts a number in the range 1..1000; the default value is 100.
format:
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Http + 1.1
GET
https://api.fivetran.com/v1/users/user_id/groups
GET /v1/users/user_id/groups?cursor=af3gu4hSDdF&limit=100 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
items
arrayrequired
The collection of returned items
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:
nextCursor
string
The value of the cursor parameter for the next page
example:
{
"code": "Success",
"message": "Operation performed.",
"data": {
"items": [
{
"id": "resource_id",
"role": "Role Title",
"created_at": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "cursor_value"
}
}