Rolle v2 /api/v2/acl/admin_users/:admin_user_id/backend/principals/:principal_id/acl/roles

Überblick

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

/api/v2/acl/admin_users/:admin_user_id/backend/principals/:principal_id/acl/roles

Parameter

Query Parameter

Schlüssel
admin_user_id Pflicht

Acl::AdminUser ID

principal_slug Pflicht

Backend::Principal Slug / ID

Beispiel Rückgabe

{
  "data" : [
    {
      "id"    : "52eea56f993a7af96200003a",
      "key"   : "administrator",
      "label" : "Administrator"
    },
    {
      "id"    : "56b25bbe93e2e51122273690",
      "key"   : "office_admin",
      "label" : "CRM Benutzer (Administrator)"
    },
    {
      "id"    : "56b1fa6a93e2e503d197d5d4",
      "key"   : "office_user",
      "label" : "CRM Benutzer (Standardbenutzer)"
    },
    {
      "id"    : "56cf238a93e2e50b28f02241",
      "key"   : "office_plus_admin",
      "label" : "Office Plus Benutzer (Administrator)"
    },
    {
      "id"    : "56cf237f93e2e50b31f02242",
      "key"   : "office_plus_user",
      "label" : "Office Plus Benutzer (Standardbenutzer)"
    },
    {
      "id"    : "57c361ba56820b6bab33ffda",
      "key"   : "presentation_admin",
      "label" : "Presentation (Administrator)"
    },
    {
      "id"    : "57c361b156820b6ba533ffdc",
      "key"   : "presentation_user",
      "label" : "Presentation (Benutzer)"
    }
  ],
  "meta" : {
    "resource_class" : "Acl::Role",
    "max_updated_at" : "2016-11-27T21:49:36.601Z",
    "page"           : null,
    "per"            : null,
    "total_count"    : 15
  }
}