Create User
Add a new user on your NFT Management Platform and the rights you wish to associate with.
URL
Required rights:
admin
,accountManage
orusersManage
To create a new user, use /users/create
.
POST - https://{{nmpUrl}}/users/create
Body
Field | Type | Required | Description |
---|---|---|---|
email | String | โ | E-mail address of the new user. |
profile | admin , ... | โ | The profile you wish to associate with a user. You may create a custom profile. |
addressOrDomain | String | โ | Allows the authorization of an Ethereum address, such as brand.eth , or a domain name, such as brand.com .โ .eth / .com format must be respected. |
{
"email": "[email protected]",
"profile": "certRead",
"addressOrDomain": "brand.com" // or "brand.eth"
}
Return Payload
Field | Success | Description |
---|---|---|
message | true | User successfully created. |
{
"message": "User successfully created"
}
Errors
Status Code | Success | Error Message |
---|---|---|
500 | false | The user e-mail may already exist. |
{}
Updated 11 days ago