Delete User

The client can cancel the active subscriptions for a user

DELETE {API_URL}/client/delete-user?userId=6764322345768765998778

Auth required: YES

Please pass your API key as the username and API secret as the password as basic auth to access the endpoint. (Pick this from Conscent Dashboard)

The userId will be of Conscent (Pick this from local storage)

Parameter
Description

userId

Unique Id assigned to each user

{
    "message": "User Deleted Successfully.",
    "data": {
        "email": "671a2abe671706f42753f892@deleted.deleted",
        "phoneNumber": "671a2abe671706f42753f892PhoneDeleted"
    }
}

Last updated