unPLUGDevelopers

Devices and messages API

Remove a device

DELETE/v1/members/me/devices/{device_id}

Stops pushes to this device for this member. Call it on sign out, before you discard the member token. Returns 204, also when the device was already removed, so a retry is safe.

Permissions: Member token.

Path parameters#

  • device_idstringRequired
    The id you registered.

Response fields#

Returns 204 with no body.

Error descriptions#

401Unauthorized
token_expired

Get a new member token from your server and retry before you finish signing out.

Any endpoint can also return the common errors.