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 CodeSuccessDescription
404falseThe ID may not exist.
{
    "message": "no ressource with this id"
}