Overview
The Client ID generated when getting the Google Workspace API key has to be used to enable domain wide delegation as mentioned below.
Steps
Login to G-suite Admin account and navigate to Google Admin.
Http link: https://admin.google.com
a. Click on Security
b. Select on Access and data control
c. Click on API controls

d. Click On MANAGE DOMAIN WIDE DELEGATION
e. Click on Add new

f. Paste the Client ID when getting the API access
g. In OAuth scopes (comma-delimited), provide the string for the relevant API
h. Click the AUTHORIZE button
This completes the process of enabling the domain-wide delegation for GSuite for the required API



