users

Update user role

Update a user's role in your workspace. Valid roles are ADMIN, USER, and VIEWER. Only admins can change roles. Cannot demote the last admin. You cannot change your own role. Authentication is required.

patch/users/role

Request

  • Base URL: https://productlane.com/api/v1
  • URL: https://productlane.com/api/v1/users/role
  • Auth: HTTP bearer

Request body

membershipIdstring required
role'ADMIN' | 'USER' | 'VIEWER' required

Response

Successful response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.