MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

System Identity → Get

AI-generated

Summary

Retrieves system identity data from the MikroTik device via /system/identity/print

Inputs

  • resource (required) — Set to 'System Identity' to target the system identity resource
  • operation (required) — Set to 'Get' (maps internally to 'getAll') to retrieve identity information
  • options — Optional collection of global parameters applied to all operations

Output shape

json

Returns { resource, operation, count, data } where data is the identity information from /system/identity/print. If cleanKeys is true, dash and slash characters in keys are replaced with underscores. If tag > 0, a .tag parameter is appended to the API call.

Examples

Example 1: Basic identity retrieval with default options

Resource: System Identity | Operation: Get | Options: {} (default)

Example 2: Identity retrieval with key cleaning and response tagging

Resource: System Identity | Operation: Get | Options: { cleanKeys: true, tag: 42 }

Links

Discussion