Skip to main content

Delete several NPS users and groups

POST 

/api/v1/ManagedAccount/DeleteMultiple

Deletes a list of NPS users and groups in one call. Users are marked as deleted and lose their sign-in account and console access; groups are removed. Only entries with entityType 0 (user) or 1 (group) are processed, so use the application user and local user delete calls for those kinds.

Permission required: Admin or App role.

Values for entityType: 0 = ManagedAccount, 1 = ManagedAccountGroup, 2 = Application, 3 = Collection, 4 = Local.

Caution: The users and groups are deleted immediately, and deleted users can no longer sign in.

Request​

Responses​

Returns the number of entries that passed and failed, with a report array of messages. IDs that do not exist count as failed.