Update User

Update the rights of a user registered in your NFT Management Platform.

URL

Required rights: admin, accountManage or usersManage

To update a user, use /users/update.

POST - https://{{nmpUrl}}/users/update

Body

FieldTypeRequiredDescription
emailStringโœ…E-mail address of the user.
idStringโœ…User's ID.
profileadmin, certRead, reporting, Data Visualisation, Data Visualisation & CertReadโœ…The profile you wish to associate with a user.
You may create a custom profile.
userIdStringโœ…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"
}