Skip to main content
PATCH
/
users
/
role
Update user role
curl --request PATCH \
  --url https://productlane.com/api/v1/users/role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "membershipId": "<string>",
  "role": "ADMIN"
}
'
{}

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.

Body

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

Response

Successful response

The response is of type object.