title: How to delete specific push notification from API server
body: <p>I am using <a href="https://github.com/adhishlal/Firebase-PHP/blob/master/sendnotification.php" rel="nofollow noreferrer">this PHP script</a> for sending a notification to <strong>Firebase</strong>:</p>
  
  <pre class="lang-php prettyprint-override"><code>...
  $fields = [
      'to' =&gt; DEVICE_TOKEN,
      'notification' =&gt; [
          'title'     =&gt; "Title",
          'body' =&gt; 'notification body',
          'tag' =&gt; 'tag',
      ],
  ];
  $ch = curl_init();
  curl_setopt( $ch,CURLOPT_URL, 'https://fcm.googleapis.com/fcm/send' );
  curl_setopt( $ch,CURLOPT_POST, true );
  curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
  curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
  curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
  curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $fields ) );
  $result = curl_exec($ch );
  ...
  </code></pre>
  
  <p>and it is properly popping on my <strong>android</strong>. I can also edit the notification using <code>tag</code> property</p>
  
  <p>But <strong>how can I delete notification</strong>? If someone read it in browser for example, I need to delete this notification from other devices.</p>
  
  <p>I tried to send empty <code>body</code> in edited notification, but doesn't work.</p>
  
  <p>On the <strong>Cordova</strong> frontend I'm using <a href="https://github.com/arnesson/cordova-plugin-firebase" rel="nofollow noreferrer">cordova-plugin-firebase</a> and I am not sure if the problem is on backend or frontend.</p>