/** * Api.delete('user-meta', {key: 'test'}, function(r){console.log(r)}); */ public function rest_delete() { $key = $this->param('key', NULL, TRUE); $user_id = $this->param('uid', NULL); $this->response(Model_User_Meta::delete($key, $user_id)); }