Update Team Member Role
Mutation to modify the role of an existing team member
Example
mutation updateTeamMemberRole {
updateTeamMemberRole(input: { newRole: AUDITOR, inProfileId: 10 }) {
clientMutationId
teamMember {
profileId
role
firstName
lastName
email
}
}
}
Response
{
"data": {
"updateTeamMemberRole": {
"clientMutationId": null,
"teamMember": {
"profileId": 10,
"role": "AUDITOR",
"firstName": "Firstname",
"lastName": "Lastname",
"email": "[email protected]"
}
}
}
}
Arguments
newRole
(String
)
Roles: OWNER, ADMIN, AUDITOR, TECHNICIAN, ACCOUNTING
inProfileId
(Int
)