User
Module endpoints
GET /users
GET /users{
"data": [
{
"approved": true,
"blocked": false,
"createdAt": "2019-07-17T11:39:26.732Z",
"customData": {},
"email": "[email protected]",
"id": "dcdbf851-f4db-468b-9235-37ef6e6306a1",
"locale": "pt",
"name": "Waldo Fred",
"phone": "+351912345678",
"primaryWalletId": "715a25e5-94d3-4142-afa9-b4b09193f618",
"referralCode": "R12345678",
"referralUserId": null,
"roles": ["user"],
"updatedAt": "2019-07-17T11:39:26.732Z",
"verified": true
},
{
"approved": false,
"blocked": false,
"createdAt": "2019-07-17T11:39:26.732Z",
"customData": {},
"email": "[email protected]",
"id": "8d31a884-7fa3-469a-a7cb-12f95895c487",
"locale": "en",
"name": "Corge Garply",
"phone": "+123456789",
"primaryWalletId": "f90b0f21-e0a8-43ff-81c2-da42a5a6ca6e",
"referralCode": "R87654321",
"referralUserId": "dcdbf851-f4db-468b-9235-37ef6e6306a1",
"roles": ["user"],
"updatedAt": "2019-07-17T11:39:26.732Z",
"verified": false
}
],
"total": 2
}GET /users/:id
GET /users/:idPATCH /users/:id
PATCH /users/:idPOST /users
POST /usersPOST /users/:id/approve
POST /users/:id/approvePOST /users/:id/block
POST /users/:id/blockPOST /users/:id/change-password
POST /users/:id/change-passwordPOST /users/:id/unblock
POST /users/:id/unblockLast updated