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'                 }               ] };

Return to Documentation Home I Return to Sangoma Support