Skip to main content
PATCH
Change a workspace user's role

Authorizations

Authorization
string
header
required

An Intent Leads API key, e.g. il_live_ followed by 32 letters and digits. Create one on the API and CLI page of the dashboard.

Path Parameters

id
string<uuid>
required

The workspace id.

userId
string<uuid>
required

The person's user_id.

Body

application/json
role
enum<string>
required
Available options:
member,
owner

Response

Role set.

workspace
string
required
user_id
string
required
role
string
required