hornet icon

hornet

Interact with hornet API

Actions452

Module Federation → Mf Lock Put

AI-generated

Summary

Locks an object via a PUT request to the Hornet Module Federation API.

Inputs

  • object_id (required) — The ID of the object (user, customer, or partner) to lock.
  • service (required) — The name of the service associated with the object.
  • APP-ID (required) — Your application identifier issued by Hornet (sent as a header).
  • requestOptions — Advanced HTTP settings: batching, SSL verification, proxy, and timeout.

Output shape

object

The raw response from the API (usually JSON) confirming the lock operation.

Examples

Example 1: Lock a customer record

Set object_id to the customer's numeric ID, service to 'customer', APP-ID to your app key, and optionally tune requestOptions for throttling or proxy usage.

Links

Discussion