Permissions

Add or update a PV role for a user

Assign a role to a user at a specific PV. Replaces any existing role at that PV.

post/api/users/{user_id}/pv-roles

Path parameters

user_idinteger required

Headers

x-api-tokenstring nullable

Request body

idroleinteger required
idpointofsaleinteger required

Response

Successful Response

{"stackTrail":"paths:/api/users/{user_id}/pv-roles:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes