Mega icon

Mega

Work with Mega API

Team → Remove Agent

AI-generated

Summary

Remove one or more agents (users) from a specified team by team ID and user IDs.

Inputs

  • Team ID (required) — Numeric identifier of the team from which agents will be removed.
  • User IDs (required) — JSON array of user IDs representing the agents to remove from the team.

Output shape

a JSON response object from the Mega API indicating success or failure of removing the specified agents from the team.

The output shape depends on the Mega API response and typically will include confirmation of the removal operation or error details if the removal failed.

Links

Discussion