Get the managed user for a host user
GET/api/v1/ManagedUser/ByHostUserId/:hostUserId
Returns the managed user record that belongs to the given host user. Use it to find out whether a host user account is managed and how.
Permission required: Administrator, application, or a delegated user with the Rotate Services permission.
Values for managedType: 0 = NotManaged, 1 = Manual, 2 = Automatic.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The managed user for the host user.
The lookup failed. The body is a text message.
The caller is not signed in.
The caller does not have the required role or permission.
No managed user exists for the host user. The body is a text message.