hornet icon

hornet

Interact with hornet API

Actions452

Email Actions → Permissions Email Actions Post

AI-generated

Summary

Posts email action permissions for a given object.

Inputs

  • object_id (required) — The ID of an object (user, customer or partner).
  • APP-ID (required) — Application identifier issued by Hornet, sent as a header.
  • user_actions (required) — Array of action objects defining the permissions to apply.

Output shape

object

Contains the HTTP response from the Hornet API, typically indicating success or error details of the permission update.

Examples

Example 1: Update permissions for a user

object_id: 12345, APP-ID: 'myapp123', user_actions: [{action: 'read', target: 'inbox'}]

Links

Discussion