Mega icon

Mega

Work with Mega API

Inbox → Update Agents

AI-generated

Summary

Update the agents of a specified inbox by providing a JSON array of user IDs to set as the new agents for that inbox.

Inputs

  • Inbox ID (required) — The numerical ID of the inbox for which the agents will be updated.
  • User IDs (required) — A JSON-formatted array of user IDs to set as agents for the inbox.

Output shape

a single JSON object representing the updated agents or confirmation response from the API

The response depends on the Mega API's output and may include details of the updated agents. No pagination applies.

Links

Discussion