Users
Update a user's product roles
post/users/{id}/product_roles
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Id identifier
Request body
Example request
{
"user": {
"first_name": "Sarah",
"enabled": false
}
}Response
Successful operation
Example response
{
"role_id": 409541421,
"name": "Project scoped role 1",
"scope": {
"type": "project",
"name": "Project 1",
"id": 131414752
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.