hornet icon

hornet

Interact with hornet API

Actions452

Domains → Domains Put

AI-generated

Summary

Updates or assigns a list of domain names to a specified object in Hornet.

Inputs

  • object_id (required) — The ID of the target object (user, customer, or partner).
  • APP-ID (required) — A unique identifier specific to your app issued by Hornet, sent in the request header.
  • domains (required) — JSON array string representing the list of domain names to set.
  • requestOptions — Additional HTTP request settings such as timeout, proxy, SSL validation, or batching.

Output shape

a JSON object or list

Returns the response payload from the Hornet API upon updating the domains.

Examples

Example 1: Assign domain names to a customer object

Set Object Id to 12345, APP ID to "app_xyz123", and Domains to '["example.com", "example.org"]'.

Links

Discussion