hornet icon

hornet

Interact with hornet API

Actions452

Email Encryption → Email Encryption Encryption Methods Put

AI-generated

Summary

Updates encryption methods for a specified object

Inputs

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

Output shape

object

Returns the API response from the PUT request, typically a success status or the updated encryption methods configuration.

Examples

Example 1: Update encryption methods for a customer

Set object_id to the customer's numeric ID, provide your APP-ID header, enable the module, and list desired methods such as ['TLS', 'PGP'].

Links

Discussion