Tenants & devices
Deactivate devices
Deactivate one token or a user's fleet
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
AuthorizationstringheaderrequiredBearer <token>, where the token comes from Create a token with the client-credentials grant.
Body
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.