Users API
Update a user's product roles
POST /api/v1/users/:id/product_roles
Name | Description |
---|---|
id * | Numeric ID of the user |
Example request
POST /api/v1/users/1020675218/product_roles
Example CURL command
curl "https://company.aha.io/api/v1/users/1020675218/product_roles" -d '{"product_role":{"role":"product_owner","product_id":"PRJ3"}}' -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76"
Request
contentType: application/json
accept: application/json
authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
Request body
Response
Status: 200 OK
contentType: application/json; charset=utf-8
Response body