Skip to main content
PATCH
/
members
/
{user_id}
Change a member's role
curl --request PATCH \
  --url https://productlane.com/api/v2/members/{user_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "image_url": "<string>",
  "joined_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://productlane.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

Body

application/json
role
enum<string>
required
Available options:
ADMIN,
USER,
VIEWER

Response

Successful response

id
string
required
email
string
required
name
string | null
required
image_url
string | null
required
role
enum<string>
required
Available options:
ADMIN,
USER,
VIEWER
joined_at
string
required