Skip to main content
PATCH
Update Team User Role

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string<uuid>
required
user_id
string<uuid>
required

Body

application/json

Change a person's role on a team.

role
enum<string>
required

The person's new role on the team. no_access removes their access to the team; they stay in the workspace.

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

Response

Successful Response

API response schema for a user with team 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 team

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 person was added to this team. False for workspace owners, who have full access to every team.

avatar_url
string | null

User's avatar URL