Inheritance: extends BaseRequest
Beispiel #1
0
 /**
  * remove registrationId to a existing group
  *
  * >Note: if you remove all registrationIds the group is automatically deleted
  *
  * @param       $notificationKeyName
  * @param       $notificationKey
  * @param array $registeredIds registrationIds to remove
  *
  * @return null
  */
 public function removeFromGroup($notificationKeyName, $notificationKey, array $registeredIds)
 {
     $request = new GroupRequest(self::REMOVE, $notificationKeyName, $notificationKey, $registeredIds);
     $response = $this->client->post($this->url, $request->build());
     return $this->getNotificationToken($response);
 }