Current Identity
Return the current identity
Returns the identity associated with the API sessions used to issue the current request
get/current-identity
Response
The identity associated with the API Session used to issue the request
Example response
{
"data": {
"defaultHostingPrecedence": "default",
"_links": {
"key": {
"method": "method",
"comment": "comment",
"href": "https://openapi-generator.tech"
}
},
"authPolicy": {
"_links": {
"key": {
"method": "method",
"comment": "comment",
"href": "https://openapi-generator.tech"
}
},
"name": "name",
"id": "id",
"entity": "entity"
},
"authenticators": {
"cert": {
"fingerprint": "fingerprint",
"id": "id"
},
"updb": {
"id": "id",
"username": "username"
}
},
"type": {
"_links": {
"key": {
"method": "method",
"comment": "comment",
"href": "https://openapi-generator.tech"
}
},
"name": "name",
"id": "id",
"entity": "entity"
},
"isMfaEnabled": true,
"appData": {},
"disabledAt": "2000-01-23T04:56:07.000+00:00",
"createdAt": "2000-01-23T04:56:07.000+00:00",
"roleAttributes": [
null,
null
],
"edgeRouterConnectionStatus": "online",
"hasEdgeRouterConnection": true,
"permissions": [
"admin_readonly",
"admin_readonly"
],
"serviceHostingPrecedences": null,
"envInfo": {
"hostname": "hostname",
"os": "os",
"osVersion": "osVersion",
"domain": "domain",
"arch": "arch",
"osRelease": "osRelease"
},
"hasApiSession": true,
"disabled": true,
"id": "id",
"updatedAt": "2000-01-23T04:56:07.000+00:00",
"sdkInfo": {
"appVersion": "appVersion",
"appId": "appId",
"type": "type",
"branch": "branch",
"version": "version",
"revision": "revision"
},
"defaultHostingCost": null,
"interfaces": [
{
"hardwareAddress": "hardwareAddress",
"addresses": [
"addresses",
"addresses"
],
"isUp": true,
"isRunning": true,
"isBroadcast": true,
"name": "name",
"index": 0,
"isLoopback": true,
"isMulticast": true,
"mtu": 0
},
{
"hardwareAddress": "hardwareAddress",
"addresses": [
"addresses",
"addresses"
],
"isUp": true,
"isRunning": true,
"isBroadcast": true,
"name": "name",
"index": 0,
"isLoopback": true,
"isMulticast": true,
"mtu": 0
}
],
"authPolicyId": "authPolicyId",
"externalId": "externalId",
"disabledUntil": "2000-01-23T04:56:07.000+00:00",
"isAdmin": true,
"tags": {},
"enrollment": {
"ott": {
"jwt": "jwt",
"id": "id",
"expiresAt": "2000-01-23T04:56:07.000+00:00",
"token": "token"
},
"ottca": {
"jwt": "jwt",
"caId": "caId",
"id": "id",
"ca": {
"_links": {
"key": {
"method": "method",
"comment": "comment",
"href": "https://openapi-generator.tech"
}
},
"name": "name",
"id": "id",
"entity": "entity"
},
"expiresAt": "2000-01-23T04:56:07.000+00:00",
"token": "token"
},
"updb": {
"jwt": "jwt",
"id": "id",
"expiresAt": "2000-01-23T04:56:07.000+00:00",
"token": "token"
}
},
"isDefaultAdmin": true,
"name": "name",
"typeId": "typeId",
"serviceHostingCosts": null
},
"meta": {
"apiEnrollmentVersion": "apiEnrollmentVersion",
"apiVersion": "apiVersion",
"pagination": {
"offset": 6.027456183070403,
"limit": 0.8008281904610115,
"totalCount": 1.4658129805029452
},
"filterableFields": [
"filterableFields",
"filterableFields"
]
}
}