API - Tenant Audit



Endpoint

/api/v1/tenants/report/audit

Method

GET



Exemplo de Request:



curl -X GET \ https://<EVOLUX_DOMAIN>/api/v1/tenants/report/audit \ -H 'Content-Type: application/json' \ -H 'cache-control: no-cache' \ -H 'token: <EVOLUX_TOKEN>'

Response example

200

{
  "meta": {
      "status": 200,
      "message": "OK"
},
"data": [
  {
      "id": 1,
      "tenant_name": "t1.example.com",
      "tenant_enabled": true,
      "feature_plan": "Full Edition",
      "external_id": null,
      "extension_groups": 1,
      "devices": 6,
      "extensions": 2,
      "positions": 8,
      "users": 3,
      "agents": 3,
      "active_agents": 3,
      "numbers": 1
  },
  {
      "id": 4,
      "tenant_name": "t2.example.com",
      "tenant_enabled": true,
      "feature_plan": "Full Edition",
      "external_id": null,
      "extension_groups": 1,
      "devices": 6,
      "extensions": 0,
      "positions": 10,
      "users": 3,
      "agents": 2,
      "active_agents": 2,
      "numbers": 0
  }],
  "pagination": {
      "items": 3,
      "total": 3,
      "limit": 50,
      "max_limit": 50,
      "current_url": "https://example.com/api/v1/tenants/report/audit?page=1",
      "first_url": "https://example.com/api/v1/tenants/report/audit?page=1",
      "last_url": "https://example.com/api/v1/tenants/report/audit?page=1",
      "prev_url": null,
      "next_url": null
  }
}