/
home
/
u303693141
/
public_html
/
wp-content
/
plugins
/
official-facebook-pixel
/
FacebookAds
/
Object
/
Upload File
HOME
<?php /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ namespace FacebookPixelPlugin\FacebookAds\Object; use FacebookPixelPlugin\FacebookAds\Http\RequestInterface; use FacebookPixelPlugin\FacebookAds\Object\Fields\SystemUserFields; class SystemUser extends AbstractCrudObject { /** * @deprecated getEndpoint function is deprecated * @return string */ protected function getEndpoint() { return 'system_users'; } /** * @return SystemUserFields */ public static function getFieldsEnum() { return SystemUserFields::getInstance(); } public function invalidateAccessTokens() { $this->getApi()->call( '/'.$this->assureId().'/access_tokens', RequestInterface::METHOD_DELETE); } }