LoguDocs
Open Logu

Delivery · removeDevice

Remove a device

DELETE /v1/devices/{id}

Stops push to that phone.

Who may call it
any signed-in human
Server
https://api.logu.dev

Parameters#

NameInTypeRequiredDescription
idpathstringrequiredThe device's id (dev_…). · e.g. dev_01K7DA2B4D6F8H0K2M4P6R8T0V

Example#

curl -s -X DELETE "https://api.logu.dev/v1/devices/dev_01K7DA2B4D6F8H0K2M4P6R8T0V" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

204

Removed.

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
404not_foundNo such route, or the resource doesn't exist in your workspace.
500internal_errorSomething went wrong on Logu's side.