Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Set the enrollment key for a specified user and service

Description

Set the enrollment key for a specified user and service.

Package Details

Interface

IAccountManager

Syntax

_accountManager.SetActivationKey(int userId, int serviceId, string enrollmentKey, [int? organizationId = null])

Returns

Task (void)

API

[PUT] /api/v1/account/set-activation-key

  • userId: [Integer] User id.

  • serviceId: [Integer] Service id

  • enrollmentKey : [string] Enrollment key

  • organizationId: [Integer] Organization id

Returns

HTTP 200 OK if successful, 401 if unauthorized, 400 otherwise.

Example

await _accountManager.SetActivationKey( userId, serviceId, enrollmentKey);


  • No labels