Skip to main content

Workspace member change response

The workspace member after the change.

project_idstringrequired
member objectrequired

Someone with access to a workspace.

membership_idstringrequired
emailstringrequired
licensestringrequired

Possible values: [editor, viewer]

org_rolestringrequired

Possible values: [admin, member, viewer]

rolestringrequired

Possible values: [no_access, viewer, member, admin, owner]

sourcestringrequired

Where the role comes from: owner for the Workspace Owner, org_admin for Org Admins, added when they were given a role in this workspace, everyone when the workspace is open to the organization and none when they have no access.

Possible values: [owner, org_admin, added, everyone, none]

is_workspace_ownerbooleanrequired
last_active_atdate-timenullablerequired

When they last opened this workspace, null if they haven't since they got access. Recorded at most once an hour, so it can be up to an hour behind. Use it to find members who haven't used a workspace for a while. Sign-ins aren't counted, because a single sign-on session can stay alive for days without any use.

createdbooleanrequired

true when the member got access with this request.

transferred_assets objectrequired

Number of assets moved, keyed by asset type: dashboards, insights, cohorts, custom_events, annotations, filter_groups, experiments, scheduled_agents, alerts, csv_uploads.

property name*integer
Workspace member change response
{
"project_id": "string",
"member": {
"membership_id": "string",
"email": "string",
"license": "editor",
"org_role": "admin",
"role": "no_access",
"source": "owner",
"is_workspace_owner": true,
"last_active_at": "2024-07-29T15:51:28.071Z"
},
"created": true,
"transferred_assets": {}
}