Add one NPS user
POST/api/v1/ManagedAccount
Adds a host user as an NPS user. Identify the user by userId or by sid. If you supply a sid and omit name, the name defaults to the user's display name.
Permission required: Admin or App role.
Values for type: 0 = HostUser, 1 = HostService, 2 = HostScheduledTask.
Caution: The user is added immediately and the call is recorded in the audit log.
Request
Responses
- 200
- 400
- 403
Returns the new NPS user.
The user could not be added. The body is a text message that includes the reason.
The signed-in user does not have the required role.