( [alias] => pkyjzb [api_id] => cd8011ec-ac44-11e4-b932-22000ac50fac [application] => /v1/Account/xxxxxxxxxxxxxxxx/Application/16982793927977910/ [endpoint_id] => 23652884295839 [password] => d592b36b4855eeb3b1c53cd53e031438 [resource_uri] => /v1/Account/xxxxxxxxxxxxxxxx/Endpoint/23652884295839/ [sip_registered] => false [sip_uri] => sip:pkyjzb150204052138@phone.plivo.com [sub_account] => [username] => pkyjzb150204052138 ) */ // Modify an Endpoint $params = array('endpoint_id' => '23652884295839', 'alias' => 'SampleAlias'); $response = $p->modify_endpoint($params); // print_r ($response['response']); /* Sample Output ( [api_id] => 067341d6-ac45-11e4-b932-22000ac50fac [message] => changed ) */ // Delete an Endpoint $params = array('endpoint_id' => '23652884295839'); $response = $p->delete_endpoint($params); // print_r ($response); /* Sample Output (