Skip to content
Nofy by Encipher Docs

Tenants & devices

Deactivate devices

Deactivate one token or a user's fleet

DELETE https://nofy.encipher.co.tz/v2/devices

Deactivates, never deletes: a token that comes back matches its row instead of creating a duplicate. Send token for one handset, or tenant with external_user_id for everything a user has, e.g. on logout.

Authorizations

Authorizationstringheaderrequired

Bearer <token>, where the token comes from Create a token with the client-credentials grant.

Body application/json

token string

One handset's FCM token.

external_user_id string

A user whose handsets should all be deactivated. Needs tenant.

tenant string

The tenant's external id. Required with external_user_id.

Responses

200 How many handsets were deactivated.
400 Neither token nor external_user_id, or an unknown tenant.
Read the guideDevices & push
Esc
↑↓ to move↵ to open