Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

admins.list

Description

Fetch a list of all the admins on the gateway.

Arguments

None.

Example Requests & Responses

Example One

Request

Fetch a list of all the admins on the gateway.

{
    'method' => 'admins.list',
    'parameters' => { }
}

Response

  'admins' => [
                {
                  'email' => 'default.admin@invalid.tld',
                  'language' => 'en_us',
                  'admin_id' => 1,
                  'fullname' => 'Default Admin',
                  'username' => 'admin'
                },
                {
                  'email' => 'other@example.tld',
                  'language' => 'en_us',
                  'admin_id' => 2,
                  'fullname' => 'Another Person',
                  'username' => 'myotheradmin'
                }
              ]
};
  • No labels