# companyContactRevokeRoles - admin-graphql - MUTATION Version: 2024-10 ## Description Revokes roles on a company contact. ### Access Scopes `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. ## Arguments * [companyContactId](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The contact whose roles are being revoked. * [revokeAll](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean - Flag to revoke all roles on the contact. * [roleAssignmentIds](/docs/api/admin-graphql/2024-10/scalars/ID): ID - The current role assignment IDs to revoke. ## Returns * [revokedRoleAssignmentIds](/docs/api/admin-graphql/2024-10/scalars/ID): ID A list of role assignment IDs that were removed from the company contact. * [userErrors](/docs/api/admin-graphql/2024-10/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation. ## Examples