entity remove

Removes an entity (specified by name and type).

NOTE
Entity can be removed only when there are no resources associated with the entity.

Syntax

CLI
maprcli entity remove
    -name <entity name>
    -type <type>
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/entity/remove?<parameters> 

Parameters

Parameter Description
name The entity name. Obtain the entity name by running the maprcli entity list command.
type The entity type. Value can be:
  • 0 - for user
  • 1 - for group
If necessary, obtain the entity type by running the maprcli entity list command.

Example

Remove an entity by name and type:

maprcli entity remove -name mapruser1 -type 1