Operations 5
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/grants/resources/{resourceHrn}/entities
List who has access to a resource · List grants on users, apps, or groups
#
Ask an LLM
“Which users, apps or groups have permissions on this resource?”
“Can I include grants from other realms?”
Tell an agent
List all grants on resource {resource_hrn}.
Show {entity_type} grants on {resource_hrn}.
GET
/grants/resources/{resourceHrn}/entities/{entityId}
Get an entity's permissions on a resource · Get grants given to a user, app, or group
#
Ask an LLM
“What permissions does a specific user have on a resource?”
“Does an app have any access to a given catalog?”
Tell an agent
Show the grants {entity_type} {entity_id} has on resource {resource_hrn}.
List what {entity_id} of type {entity_type} can do on {resource_hrn}.
GET
/grants/resources/{resourceHrn}/entities/{entityId}/actions/{actionId}
Check one action grant for an entity · Get a single grant given to an entity
#
Ask an LLM
“Is a user allowed to take a particular action on a resource?”
“How do I verify a single permission for a group?”
Tell an agent
Check whether {entity_type} {entity_id} can {action_id} on {resource_hrn}.
Get the {action_id} grant for {entity_id} ({entity_type}) on resource {resource_hrn}.
POST
/grants/resources/{resourceHrn}/entities/{entityId}/actions/{actionId}
Grant an entity permission on a resource · Grant access to a resource to an entity
#
Ask an LLM
“How do I give a user permission to read a catalog?”
“Can I grant a group a specific action on a resource?”
Tell an agent
Grant {entity_type} {entity_id} the {action_id} action on {resource_hrn}.
Allow {entity_id} ({entity_type}) to {action_id} resource {resource_hrn}.
DELETE
/grants/resources/{resourceHrn}/entities/{entityId}/actions/{actionId}
Revoke an entity's permission on a resource · Revoke access to a resource from an entity
#
Ask an LLM
“Can I take away one action a user has on a resource?”
“Does revoking a grant remove permissions inherited from groups?”
Tell an agent destructive · confirm first
Revoke the {action_id} grant from {entity_type} {entity_id} on {resource_hrn}.
Stop {entity_id} ({entity_type}) from being able to {action_id} {resource_hrn}.
Documentation
Documentation
https://docs.here.com/identity-and-access-management/docs
APIReference
https://docs.here.com/identity-and-access-management/reference
Documentation
https://docs.here.com/data-api/docs
APIReference
https://docs.here.com/data-api/reference
Documentation
https://docs.here.com/usage/docs
APIReference
https://docs.here.com/usage/reference
Documentation
https://docs.here.com/destination-weather/docs
APIReference
https://docs.here.com/destination-weather/reference
Documentation
https://docs.here.com/ev-products/docs
APIReference
https://docs.here.com/ev-products/reference
Documentation
https://docs.here.com/fuel-prices/docs
APIReference
https://docs.here.com/fuel-prices/reference
Documentation
https://docs.here.com/geocoding-and-search/docs
APIReference
https://docs.here.com/geocoding-and-search/reference
Documentation
https://docs.here.com/routing/docs
APIReference
https://docs.here.com/routing/reference
Documentation
https://docs.here.com/positioning/docs
APIReference
https://docs.here.com/positioning/reference
Documentation
https://docs.here.com/indoor-map/docs
APIReference
https://docs.here.com/indoor-map/reference
Documentation
https://docs.here.com/transit/docs
APIReference
https://docs.here.com/transit/reference
Documentation
https://docs.here.com/map-attributes/docs
APIReference
https://docs.here.com/map-attributes/reference
Documentation
https://docs.here.com/map-rendering/docs
APIReference
https://docs.here.com/map-rendering/reference
Documentation
https://docs.here.com/workspace/docs
APIReference
https://docs.here.com/workspace/reference
Documentation
https://docs.here.com/tour-planning/docs
APIReference
https://docs.here.com/tour-planning/reference
Documentation
https://docs.here.com/tracking/docs
APIReference
https://docs.here.com/tracking/reference
Documentation
https://docs.here.com/traffic-api/docs
APIReference
https://docs.here.com/traffic-api/reference
Documentation
https://docs.here.com/wego-pro/docs
APIReference
https://docs.here.com/wego-pro/reference