Administrator v1 /api/v1/acl/admin_users/:id

Überblick

Klasse / Datentyp
Administrator
Response Formats
JSON
API Version
v1
Öffentlich erreichbar
false
HTTP Methode
GET
Zuletzt aktualisiert

/api/v1/acl/admin_users/:id

Parameter

Query Parameter

Schlüssel
principal_id Pflicht

Backend::Principal ID

id Pflicht

Acl::AdminUser ID

Beispiel Rückgabe

{
  "id"                   : "XXXXXXXXXX",
  "email"                : "office@bertoliniphoto.at",
  "firstname"            : "Mario",
  "lastname"             : "Bertolini",
  "authentication_token" : "XXXXXXXX",
  "default_principal"    : {
    "id"          : "XXXXXXXXX",
    "name"        : "Mario Bertolini",
    "site_name"   : "Mario Bertolini",
    "main_domain" : null
  },
  "roles"                : [
    {
      "id"    : "CCCCCCCCCC",
      "key"   : "super_administrator",
      "label" : "Super Administrator"
    },
    {"id" : "CCCCCCCCCC","key" : "administrator","label" : "Administrator"}
  ],
  "default_employee"     : null,
  "created_at"           : "2016-02-10 16:44:14 +0100",
  "updated_at"           : "2016-06-30 12:14:40 +0200"
}