Users API
Update a user's custom roles
POST /api/v1/users/:id/user_roles
Name | Description |
---|---|
id * | Numeric ID of the user |
Example request
POST /api/v1/users/1049303076/user_roles
Example CURL command
curl "https://company.aha.io/api/v1/users/1049303076/user_roles" -d '{"user_role":{"custom_role_id":409541421,"product_id":131414752}}' -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