Update User API
This API lets you update the details of a user.
Update User API
PUT
https://api.roam.ai/v1/api/user/
Headers
Name | Type | Description |
---|---|---|
Api-key | string | Auth-key E.g.- 33223kjhdcscijhb5sdbsdmjsdcbj5f |
Request Body
Name | Type | Description |
---|---|---|
user_id | string | Enable or disable events data for the given user_id. E.g.- 5d9450ace47bae6d70064a9b |
description | string | Update user description. E.g.- “test user” |
geofence_events | boolean | Enable or disable geofence_events. E.g.- true |
trips_events | boolean | Enable or disable trips_events. E.g.- true |
location_events | boolean | Enable or disable location_events. E.g.- true |
nearby_events | boolean | Enable or disable nearby_events. E.g.- true |
event_listener | boolean | Enable or disable event_listener. E.g.- true |
location_listener | boolean | Enable or disable location_listener. E.g.- true |
Sample Request
Last updated