Packets

Link license to account

Links a license to the currently authorized account.

Link license to account attaches a license to the current account authorization context. This operation is available only after successful Initialize.

Request

Link license to account uses packet type = 4.

{
  "type": 4,
  "id": 5,
  "license": "ABCDEF-123456"
}

Prop

Type

Response

{
  "id": 5,
  "status": 1
}

Prop

Type

Behavior notes

  • Operation requires an already authorized account session context.
  • On success, license is linked to the authorized account and activated.
StatusConstantReturned when
1OkLicense was linked successfully.
3NotAuthorizedSession is not authorized by account credentials.
6InternalServerErrorServer failed to process linking due to an internal error.
100LicenseNotFoundLicense was not found in this application.
101LicenseTooShortlicense is shorter than 6 characters.
102LicenseTooLonglicense is longer than 64 characters.
106LicenseAlreadyLinkedLicense is already linked to an account.
107LicenseAlreadyActivatedLicense is already activated.

Connection-close cases (before/around this usecase)

Link license to account itself returns JSON responses with status, but session can still be closed by protocol/session guards:

Close codeErrorWhen it happens
4200connection is not initializedRequest was sent before successful Initialize.
4201rate limit hitGlobal per-session packet rate limit was exceeded.
4302invalid request bodyPacket body does not match the required schema for this operation.

On this page