Skip to main content
PATCH
Change a member'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.

Headers

Intent-Leads-Workspace
string<uuid>

Only with an organization key: the workspace to act in (its id; ?workspace=<id> works too). Lanes, leads, exports, lists, websites and webhooks live in workspaces. Without it, an organization key acts in its only workspace, or gets 400 workspace_required (with the list of workspaces) when it has several. Workspace keys don't need it. On keys, team and activity it switches from the organization's own to that workspace's.

Path Parameters

userId
string<uuid>
required

The member's user_id.

Body

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

Response

Role set.

user_id
string<uuid>
required
role
enum<string>
required
Available options:
member,
owner