# Remove a push device

Canonical page: https://docs.ovok.com/api/push/remove-a-push-device

`DELETE /v1/push/devices/{id}`

Removes one of your push devices: it gets no more push. Call it on sign-out.

**Scope:** the caller's own profile in the caller's project (from the token). A Patient, Practitioner or RelatedPerson session only; any other is 403 `PROFILE_NOT_ALLOWED`.

## Behaviour

- The answer is 204.
- A device that is not yours, is in another project, or is already gone answers 404 `PUSH_DEVICE_NOT_FOUND`, the same in each case.
- An id that is not a UUID is 422.
- Deleting the account removes its devices too.

## Example

```bash
curl -X DELETE 'https://api.sandbox.ovok.com/v1/push/devices/c3499c27-2973-0a7f-807e-fb8676a92dcb' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
