Delete Profile
Profiles in the NFT management platform are used to define user rights rules.
When you delete a profile applied to a user, the user loses the rights associated with it.
URL
To delete a profile, use /profile/:id
.
DELETE - https://{{nmpUrl}}/profile/:id
Return Payload
The profile has been deleted.
{
"_id": "65ca38fdc784dd6e41c3871a",
"name": "test2",
"rights": [
"certCreate",
"certRead"
],
"__v": 0,
"id": "65ca38fdc784dd6e41c3871a"
}
Errors
Status Code | Success | Description |
---|---|---|
404 | false | The ID may not exist. |
{
"message": "no ressource with this id"
}
Updated about 1 month ago