Skip to main content
PATCH
Update Project User Role

Authorizations

Authorization
string
header
required

Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

Path Parameters

project_id
string<uuid>
required
user_id
string<uuid>
required

Body

application/json

Change a person's role on a project.

role
enum<string>
required

Setting a Limited Member's last project to no_access removes them from the workspace.

Available options:
full_access,
editor,
commenter,
downloader,
viewer,
no_access

Response

Successful Response

API response schema for a user with project access.

id
string<uuid>
required

User ID

first_name
string
required

User's first name

last_name
string
required

User's last name

email
string
required

User's email address

role
enum<string>
required

User's effective role on this project

Available options:
full_access,
editor,
commenter,
downloader,
viewer,
no_access
workspace_role
enum<string>
required

User's workspace role

Available options:
owner,
member,
member_limited
has_explicit_permission
boolean
required

True when the role was set on this project directly. False when it comes from the project's default role or workspace ownership.

avatar_url
string | null

User's avatar URL