admin.delete

Description

Delete one system admin.

Arguments

name

value type

required

name

value type

required

username

the admin's username

yes

Example Requests & Responses

Example One

Request

Delete one system admin.

{     'method' => 'admin.delete',     'parameters' => {         'username' => 'erin'     } }

Response

{           'result' => 'success'  }

Or

{           'result' => 'error',           'error' => 'An Error String',           'error_key' => 'AN_ERROR_LANGUAGE_KEY',  }

Return to Documentation Home I Return to Sangoma Support