List what each member can do on a site

list_site_member_access

Lists every member of the site's workspace with the role they hold on that one site.

This is the Member access section of the site's Settings tab. Each row carries UserId, Name, Email, WorkspaceRole, ProjectRole (the site role they hold now), DefaultRole (the site role their workspace role starts them on), IsOwner and IsSelf. Pending invitations are not listed.

A site role only ever narrows what the workspace role allows: editor is everything a member can do on a site, content-editor the preview, the CMS and comments, viewer the preview and comments, and no-access hides the site from them. The workspace owner always has full access. Any member of the workspace can read the list. See Roles on a single site.

Pass a UserId from here to set_site_member_access to change one.

Inputs

Input Type Required Description
projectId string Yes The site id.