We are listing the available API endpoints for habitate.io. These can be used to build additional feature and create linked services around your community.
In case you need more help you can get in touch with the team, developer-support at habitate.io
Patch user details
Endpoint
PATCH
/api/v1/users/{msid}
Url path variables
| Possible values |
Comments |
| msid |
The msid value of the user to be edited. |
Body parameters
| Name |
Type |
Req? |
Comments |
| action |
int |
Y |
|
| data |
object |
Y |
|
| details |
string |
N |
|
‘action’ options
| options |
Comments |
| 101 |
for update::role |
‘data’ parameters
| Name |
Type |
Req? |
Comments |
| role_id |
int |
N |
The role id of the role you want to change to. You can get the role from roles api. |