Update User
Update the rights of a user registered in your NFT Management Platform.
URL
To update a user, use /users/update
.
POST - https://{{nmpUrl}}/users/update
Body
Field | Type | Required | Description |
---|---|---|---|
email | String | โ | E-mail address of the user. |
id | String | โ | User's ID. |
profile | admin , certRead , reporting , Data Visualisation , Data Visualisation & CertRead | โ | The profile you wish to associate with a user. You may create a custom profile. |
userId | String | โ | User's ID. |
{
"email": "[email protected]",
"id": "65ca217cc784dd6e41c32b18",
"profile": "reporting",
"userId": "google-oauth2|104793214778422473870"
}
Return Payload
The user's profile has been updated.
{
"_id": "65ca217cc784dd6e41c32b18",
"profile": "reporting",
"email": "[email protected]",
"deleted": false,
"userId": "google-oauth2|104793214778422473870",
"auth0Id": "google-oauth2|104793214778422473870",
"__v": 0,
"id": "65ca217cc784dd6e41c32b18"
}
Updated 8 days ago