Skip to main content
PATCH
Update user role and site assignment

Authorizations

Authorization
string
header
required

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

Path Parameters

userId
string
required

Body

application/json
role
enum<string>
required
Available options:
COLLECTOR,
APPROVER,
VIEWER,
MANAGER,
OWNER
assignedSiteIds
string[]

Response

Successful response

success
boolean
required
message
string
required