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"
}
'
{}

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.