Add several users and groups to NPS
POST/api/v1/ManagedAccount/AddMultiple
Adds a list of domain users and domain groups as NPS users and groups in one call, then synchronizes the members of any domain groups you added. A domain user whose NPS account was deleted earlier is reactivated. Use it to onboard many accounts at once.
Permission required: Admin or App role.
Values for entityType: 0 = HostUser, 1 = DomainGroup, 2 = ApplicationUser, 3 = DomainGroupMember.
Request
Responses
- 200
- 400
- 403
Returns the number of entries that passed and failed, with a report array of messages. Entries that are already NPS users or groups, users that are not domain users, and users that already have a credential with the same domain and user name count as failed.
The license has expired or the credit limit is reached, or the add failed. The body is a text message.
The signed-in user does not have the required role.