Stop push notifications to a phone
DELETE
/me/devices/{token}
const url = 'https://example.com/me/devices/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/me/devices/exampleThe driver apps, on sign-out: this phone hears nothing more. Only the caller’s own phone is forgotten.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Responses
Section titled “Responses”Forgotten
Not signed in
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}