Mira Admin List icon

Mira Admin List

Get all administrators from Mira App Server

Mira Admin List

AI-generated

Overview

The node "Mira Admin List" retrieves a list of all administrators from the Mira App Server. It is useful in scenarios where you need to manage or audit administrative users within the Mira system, such as fetching admin details for reporting, synchronization with other systems, or access control verification.

Practical examples:

  • Automatically fetching the current list of admins to update an internal dashboard.
  • Integrating with other tools that require knowledge of Mira administrators.
  • Auditing admin accounts periodically to ensure compliance.

Properties

Name Meaning
Token Source Choose where to get the access token from: "From Credentials" (use stored API credentials) or "From Input Data" (provide token directly or via input data).
Server URL The URL of the Mira App Server to connect to (required if token source is "From Input Data").
Access Token The access token used for authentication, either provided directly or extracted from input data (required if token source is "From Input Data").

Output

The node outputs JSON data containing the list of administrators retrieved from the Mira App Server's /api/admins endpoint. Each item in the output corresponds to an administrator record with its associated properties as returned by the API.

No binary data output is produced by this node.

Dependencies

  • Requires access to a Mira App Server instance.
  • Needs an access token for authentication, which can be supplied either via stored credentials or directly through input data.
  • No additional external services are required beyond the Mira App Server API.

Troubleshooting

  • Authentication errors: If the node fails due to invalid or missing tokens, verify that the access token is correctly provided either through credentials or input data.
  • Connection issues: Ensure the Server URL is correct and reachable from the n8n environment.
  • Empty or unexpected responses: Confirm that the authenticated user has permission to list administrators on the Mira App Server.

Links and References

  • Mira App Server API documentation (for /api/admins endpoint) – consult your Mira server API docs for detailed response structure and permissions.

Discussion