hornet icon

hornet

Interact with hornet API

Actions452

Email Encryption → Email Encryption Smime User Certificates Post

AI-generated

Summary

Creates or updates an S/MIME user certificate for a given object (user, customer or partner) in the Hornet API.

Inputs

  • object_id (required) — The ID of the object (user, customer or partner). Sent as a query parameter. Defaults to 0 if not set by an expression.
  • APP-ID (required) — Application identifier issued by Hornet. Sent in the request header.
  • certificate (required) — ID of the S/MIME settings instance to associate with the object. Sent in the request body. Defaults to 0.
  • reorder — When true, the certificate will be reordered automatically before it expires. Sent in the request body. Defaults to true.
  • signature — When true, emails will be signed using this certificate. Sent in the request body. Defaults to true.
  • encrypt — When true, emails will be encrypted if possible. Sent in the request body. Defaults to true.

Output shape

object

Returns the Hornet API response containing the created or updated S/MIME certificate configuration. The exact structure follows the API definition for the Email Encryption Smime User Certificates POST endpoint.

Examples

Example 1: Enable signing and encryption for a user's S/MIME certificate

Set object_id to the target user's ID, provide your APP‑ID header, specify the certificate ID, and leave reorder, signature and encrypt at their defaults (true).

Links

Discussion