Exemplo n.º 1
0
 /**
  * Scopes: role_operator, role_owner, role_admin
  *
  * @return \Aikidesk\SDK\Instance\Contracts\ResponseInterface
  */
 public function remove()
 {
     $customerId = $this->getCustomerId();
     $emailId = $this->getEmailId();
     $input = [];
     return $this->request->delete(sprintf('customer/%1d/email/%1d', $customerId, $emailId), $input);
 }
 /**
  * Scopes: role_operator, role_admin, role_owner, customer_autologin
  *
  * @return \Aikidesk\SDK\Instance\Contracts\ResponseInterface
  */
 public function remove()
 {
     $customerId = $this->getCustomerId();
     $autologinId = $this->getAutoLoginId();
     $input = [];
     return $this->request->delete(sprintf('customer/%1d/autologin/%1d', $customerId, $autologinId), $input);
 }
Exemplo n.º 3
0
 /**
  * Scopes: role_owner, role_admin, www
  *
  * @return \Aikidesk\SDK\Instance\Contracts\ResponseInterface
  */
 public function delete()
 {
     $oauthId = $this->getOAuthId();
     $input = [];
     return $this->request->delete(sprintf('oauth/%1d', $oauthId), $input);
 }