Skip to main content

Invite or update member response

The member after the change.

member objectrequired

A member of the organization.

membership_idstringrequired

Identifies the member in the other member endpoints.

user_idstringrequired

The ID of the person's Mitzu user.

emailstringrequired
licensestringrequired

editor uses a paid editor seat, viewer can only view.

Possible values: [editor, viewer]

org_rolestringrequired

Possible values: [admin, member, viewer]

is_org_ownerbooleanrequired

The Org Owner's license and org role can't be changed through the API.

invited_atdate-timenullablerequired

When they were invited.

first_login_atdate-timenullablerequired

When they first signed in, null if they never did.

last_login_atdate-timenullablerequired

When they last signed in, null if they never did. A single sign-on session can stay alive for days, so use last_active_at to tell whether someone still uses Mitzu.

last_active_atdate-timenullablerequired

The latest last_active_at across their workspaces: when they last opened any workspace, null if they haven't. Use it to find members who haven't used Mitzu for a while.

createdbooleanrequired

true when the person was invited, false when an existing member was updated.

invite_email_sentbooleanrequired
added_to_project_idsstring[]required

Workspaces from project_ids where they got access now.

Invite or update member response
{
"member": {
"membership_id": "string",
"user_id": "string",
"email": "string",
"license": "editor",
"org_role": "admin",
"is_org_owner": true,
"invited_at": "2024-07-29T15:51:28.071Z",
"first_login_at": "2024-07-29T15:51:28.071Z",
"last_login_at": "2024-07-29T15:51:28.071Z",
"last_active_at": "2024-07-29T15:51:28.071Z"
},
"created": true,
"invite_email_sent": true,
"added_to_project_ids": [
"string"
]
}