hornet icon

hornet

Interact with hornet API

Actions452

Email Encryption → Email Encryption Encryption Methods Post

AI-generated

Summary

Updates the email encryption methods for a specified object (user, customer, or partner) via a POST request to the Hornet Security API.

Inputs

  • object_id (required) — The ID of the object whose encryption methods are being updated. Can be a user, customer, or partner ID.
  • APP-ID (required) — Application identifier issued by Hornet Security, sent as a header.
  • enabled (required) — Boolean flag to enable or disable the encryption module for the object.
  • encryption_methods (required) — Array of encryption method strings to activate (e.g., TLS, EMIG, DANE, SMIME, PGP, WEBSAFE). TLS is always active.
  • tagging (required) — Object containing tagging data applied to each encryption method.

Output shape

object

Returns the API response from the Hornet Security endpoint, typically containing the updated encryption methods configuration or a success status.

Examples

Example 1: Enable TLS and PGP encryption for a customer with ID 12345

Set object_id=12345, APP-ID header to your app ID, enabled=true, encryption_methods=[TLS, PGP], tagging with any desired labels.

Links

Discussion