createPortfolioUserRole
Mutation to create a new portfolio user role. This will effectively link the user to the portfolio giving them all the permissions enabled for the specific role.
Arguments
Input fields for connecting a user to a portfolio.
Returns
CreatePortfolioUserRoleMutation to create a new portfolio user role. This will effectively link the user to the portfolio giving them all the permissions enabled for the specific role.
Possible Errors
Allowed Viewers
Required Permissions
Can update portfoliosQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CreatePortfolioUserRole($input: CreatePortfolioUserRoleInput) {
createPortfolioUserRole(input: $input) {
portfolioUserRole {
...PortfolioUserRoleTypeFragment
}
}
}
Variables
{
"input": CreatePortfolioUserRoleInput
}
Response
{
"data": {
"createPortfolioUserRole": {
"portfolioUserRole": PortfolioUserRoleType
}
}
}