hornet icon

hornet

Interact with hornet API

Actions452

O 365 Onboarding → Thirdparty O 365 App Permissions Put

AI-generated

Summary

Put third-party O365 app permissions for a given object ID.

Inputs

  • object_id (required) — ID of the object (user, customer or partner). Sent as a query parameter named object_id.
  • APP-ID (required) — Your app's unique identifier, sent in the APP-ID HTTP header.
  • app (required) — Select the O365 app whose third‑party permissions are to be updated. Sent as a JSON body property named app with one of the allowed values (email_actions, mailbox_settings, sat_whitelisting, mailbox_migration_tool, urp_mea, urp_dea, urp_tenant_app, onboarding, eep_upgrade_to_tp, phishing_reporter, teams_protection, auto_remediate, upgrade_to_hybrid_mode, cyber_assistant).
  • requestOptions.batching.batch.batchSize — Number of items per batch for throttling. -1 disables batching; 0 is treated as 1. Default 50.
  • requestOptions.batching.batch.batchInterval — Delay between batches in milliseconds. 0 disables. Default 1000.
  • requestOptions.allowUnauthorizedCerts — If true, accept responses even when SSL certificate validation fails. Default false.
  • requestOptions.proxy — HTTP proxy URL, optionally with username:password (e.g. http://user:pass@host:port).
  • requestOptions.timeout — Request timeout in milliseconds. Minimum 1. Default 10000.

Output shape

The raw JSON response from the Hornet API endpoint for updating third‑party O365 app permissions.

Success returns the API's response body; errors are thrown and can be caught by n8n's error handling.

Examples

Example 1: Grant Mailbox Settings permissions for object ID 12345 using the Email Actions app.

Set object_id=12345, APP‑ID='my‑app‑123', app='email_actions'. Leave request options at defaults.

Links

Discussion