Scopes
Scopes in Zoho IoT define the level of access granted to a client for protected resources within the application. They allow users to provide delegated access to specific modules or operations in a controlled manner. Zoho IoT APIs use selected scopes to determine the type of data or functionality that a client application can access.
Tokens are generated with one or more scopes to ensure secure and restricted access. For instance, you can generate a scope to read device data, create assets, or manage configurations.
Each scope in Zoho IoT comprises three parts — the service name (ZohoIOT), scope name(e.g. modules.assets), and operation type.
E.g. scope = ZohoIOT.modules.assets.READ
List of Scopes Available in Zoho IoT
* The ALL scope in the below list includes READ, CREATE, UPDATE, and DELETE operations.
| Module / Feature Name | Available Scopes |
Assets | ZohoIOT.modules.assets.ALL |
Devices | ZohoIOT.modules.devices.ALL |
Locations | ZohoIOT.modules.locations.ALL |
Certificates | ZohoIOT.modules.certificates.ALL |
Policies | ZohoIOT.modules.policies.ALL |
Datapoints | ZohoIOT.modules.datapoints.ALL |
DataStreams | ZohoIOT.modules.datastreams.ALL |
AlarmRules | ZohoIOT.modules.alarmrules.ALL |
Alarms | ZohoIOT.modules.alarms.ALL |
Commands | ZohoIOT.modules.commands.ALL |
ConfigSettings | ZohoIOT.modules.configsettings.ALL |
Dashboards | ZohoIOT.modules.dashboards.ALL |
Actions | ZohoIOT.actions.emailnotifications.ALL |
Files | ZohoIOT.modules.files.READ |
Manufacturers | ZohoIOT.modules.manufacturers.ALL |
Maps | ZohoIOT.modules.maps.ALL |
Products | ZohoIOT.modules.products.ALL |
Reports | ZohoIOT.modules.reports.ALL |
Vendors | ZohoIOT.modules.vendors.ALL |
WorkSpaces | ZohoIOT.modules.workspaces.READ |
UserGroups | ZohoIOT.settings.user_groups.ALL |
Users | ZohoIOT.settings.users.ALL |
PushNotifications | ZohoIOT.settings.pushnotifications.ALL |
WriteUs | ZohoIOT.settings.feedback.READ |
| Groups | ZohoIOT.settings.groups.ALL |
| BusinessHours | ZohoIOT.settings.business_hours.ALL |
| ClientPortals | ZohoIOT.settings.clientportals.ALL |
| WorkSpaces | ZohoIOT.modules.workspaces.READ |
| Applications | ZohoIOT.settings.applications.READ ZohoIOT.settings.applications.UPDATE |
| AuditLogs | ZohoIOT.settings.auditlogs.READ |
| ProductGallery | ZohoIOT.settings.product_gallery.READ |
| CrmIntegration | ZohoIOT.integrations.crm.ALL |
| Single data READ and create | ZohoIOT.settings.cirrus.data.READ ZohoIOT.settings.cirrus.data.CREATE |