...
Set the enrollment key for a specified user and service. You cannot associate an internal user with an organization.
Package Details
Interface
IAccountManager
...
AccountManager.SetActivationKey(int userId, int serviceId, string enrollmentKey, [int? organizationId = null])
Returns
Task (void)
API
Implementation Notes
Internal users must not be associated with any organizations.
PUT
/api/v1/account/set-activation-key?userId={userId}&serviceId={serviceId}&enrollmentKey={enrollmentKey}&organizationId={organizationId}
...