Assign a product role to a user
PUT/api/v1/products/:productId/roles/:role
Assign a product role to a user. If the user already has another role for the same product, it will be replaced with the new one.
Request
Responses
- 204
- 401
- 404
Successfully added the role to the user.
Response Headers
Invalid Token
Response Headers
Product or role not found.