removeCompanyManager
Remove a user's account manager role for a specific company.
Removes the management relationship between a user and a company, revoking the user's elevated permissions to manage the company's data and operations.
Possible errors:
- USER_NOT_FOUND_ERROR: User with the specified ID does not exist
- COMPANY_NOT_FOUND_ERROR: Company with the specified ID does not exist
- USER_UPDATE_ERROR: Failed to remove the management relationship
AUTH: Role=[user.OWNER,user.EDITOR]
removeCompanyManager(
userId: Int!
companyId: Int!
): String!
Arguments
removeCompanyManager.userId
● Int!
non-null scalar
Unique identifier of the user to remove as account manager.
Must be a valid user ID representing an existing user who will lose management permissions for the specified company.
removeCompanyManager.companyId
● Int!
non-null scalar
Unique identifier of the company to remove management from.
Must be a valid company ID representing an existing company that will no longer be managed by the specified user.
Type
String
scalar
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.