post
https://Use API Lookup for a base URL/grants/resources//entities//actions/
Grant access to a resource to an entity. The result of this call is that the specified entity will have permission to take the specified action against the specified resource.
Access Control:
- The calling principal must have either "addGrant:{actionId}" or "share" action permission for the resource "{resourceHrn}" in the "authorization" service.
- The realm of the calling principal MUST match the realm of the requested app.
- The calling principal MUST NOT include a project scope.
400Illegal entity ID.
Illegal action value.
Invalid HERE Resource Name format.
Entity type is required.
Illegal entity type.
403You do not have permission to perform this action.
Reserved resource prefix is required for this action.
Realm of the entity does not match the realm of the caller.
Realm not found.
404Resource or App not found