ManageEngine DC Cloud
Connection Requirements
Client ID and Client Secret
Register your application as a new client by accessing the developer console.
Choose "Client Type" that suits your application type.
After choosing the client type, provide the required details and click 'Create'.
On successful registration, you will be provided with a set of OAuth 2.0 credentials such as "Client_ID" and "Client_Secret" that will be only known to Zoho and your application. (Do not share these credentials anywhere)
Refresh Token
First Step: Generate Grant Token
First you need to generate grant token. After registration, click "Self Client" method available on the Applications list.
Enter the "Scopes": DesktopCentralCloud.Common.READ, DesktopCentralCloud.SOM.READ, DesktopCentralCloud.Inventory.READ,
Choose time duration, you need to do the next step in this time duration.
Click Create to Generate. Then copy the grant token.
After generating the Authorization code, a POST request needs to be made to generate the refresh token and access token.
Using the Grant Token created in Step 1, send a cURL request:
curl -X POST "https://accounts.zoho.com/oauth/v2/token" \
-d "code=YOUR_GRANT_TOKEN" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "grant_type=authorization_code"Parameters:
code* - Authorization code obtained during grant token generation (Step 1)
client_id* - Obtained during Client Registration
client_secret* - Obtained during Client Registration
grant_type* - authorization_code (provide this literal string as value)
scope - (Optional) Scope for which the token to be generated. Multiple scopes can be separated by commas. Example: DesktopCentralCloud.Common.READ, DesktopCentralCloud.Inventory.READ
⚠️ Attention Please perform a connection test to ensure there is a valid connection to the host. When the discovery operation is finalized, you will be able to see the details on the Assets page.
Was this helpful?