Delete Role

Usage

The "Delete Role" action in the Google Directory category for Zenphi allows you to remove a custom role from your Google Workspace. This action is useful for managing and updating your organization’s roles, ensuring only relevant roles are retained. By efficiently removing outdated or unnecessary roles, you can maintain a well-organized permissions structure in your Workspace environment.


Fields

  1. Connection
    This field connects Zenphi to your Google Directory account, enabling it to manage roles within your Google Workspace environment.
  2. Customer Id
    Enter the Customer ID associated with your Google Workspace account. This ID uniquely identifies your organization and ensures the action is performed in the correct environment.
  3. Role Id
    Provide the Role ID of the custom role you wish to delete. This ID is a unique identifier for the role, allowing precise selection and removal of the specific role from your Google Workspace.

Demonstration on how to use it in a flow

  1. Drag and drop "Delete Role" action into the flow.
  2. Set the name of your choice or let it be as default.
  3. Click the gear icon to open its settings.
  1. Select the Google Directory connection you have set up in Zenphi. This connection allows Zenphi to interact with your Google Workspace and manage roles effectively.
  2. Enter your Customer ID for the Google Workspace account from which you want to delete the role. For example, you might input C012345 to uniquely identify your organization.
  3. Input the Role ID of the role you wish to delete. For instance, if you want to remove a role called "IT Admin," you would enter its corresponding Role ID (e.g., role1234).


Conclusion

The "Delete Role" action simplifies the management of custom roles within Google Workspace by enabling quick removal of outdated or unnecessary roles. By accurately filling in the Connection, Customer ID, and Role ID fields, you can ensure your organization’s role structure remains streamlined and relevant, promoting effective user permission management.