Update a reseller license

Updates the specified reseller license by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

PATCH/v3/resellers/{resellerId}/licenses/{id}
JWT
reseller:license:update

Parameters

NameTypeInDescription
resellerId*stringpath
id*stringpathUnique identifier for the reseller license.

Request Body Schema

PropertyTypeDescriptionConstraints
userIdstringUnique identifier for the user.min: 0, max: 256
organizationIdstringUnique identifier for the organization.min: 0, max: 256

Request Example

{
  "userId": "string",
  "organizationId": "string"
}
Triggers webhook: reseller.license.updated
POST <your-webhook-url>
{
  "event": "reseller.license.updated",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "key": "string",
    "revoked": true,
    "suspended": true,
    "perpetual": true,
    "type": "node-locked",
    "validity": 0,
    "subscriptionInterval": "string",
    "totalActivations": 0,
    "totalDeactivations": 0,
    "allowedActivations": 0,
    "allowedDeactivations": 0,
    "allowedFloatingClients": 0,
    "leaseDuration": 0,
    "expiresAt": "2019-08-24T14:15:22Z",
    "effectiveDate": "2019-08-24T14:15:22Z",
    "notes": "string",
    "metadata": [
      {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "key": "string",
        "value": "string"
      }
    ],
    "meterAttributes": [
      {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "name": "string",
        "allowedUses": 0,
        "totalUses": 0,
        "grossUses": 0,
        "floating": true
      }
    ],
    "product": {
      "id": "string",
      "displayName": "string",
      "iconUrl": "string",
      "description": "string"
    },
    "productVersion": {
      "displayName": "string"
    },
    "entitlementSet": {
      "name": "string"
    },
    "userId": "string",
    "user": {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "firstName": "string",
      "lastName": "string",
      "email": "string",
      "role": "string",
      "twoFactorEnabled": true,
      "googleSsoEnabled": true,
      "lastLoginAt": "2019-08-24T14:15:22Z",
      "organizationId": "string",
      "organization": {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "name": "string",
        "email": "string",
        "description": "string",
        "allowedUsers": 0,
        "address": {
          "addressLine1": "string",
          "addressLine2": "string",
          "city": "string",
          "state": "string",
          "country": "string",
          "postalCode": "string"
        }
      },
      "company": "string"
    },
    "organizationId": "string",
    "organization": {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "email": "string",
      "description": "string",
      "allowedUsers": 0,
      "address": {
        "addressLine1": "string",
        "addressLine2": "string",
        "city": "string",
        "state": "string",
        "country": "string",
        "postalCode": "string"
      }
    }
  },
  "triggeredAt": "string"
}

Responses

200 OK
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "key": "string",
  "revoked": true,
  "suspended": true,
  "perpetual": true,
  "type": "node-locked",
  "validity": 0,
  "subscriptionInterval": "string",
  "totalActivations": 0,
  "totalDeactivations": 0,
  "allowedActivations": 0,
  "allowedDeactivations": 0,
  "allowedFloatingClients": 0,
  "leaseDuration": 0,
  "expiresAt": "2019-08-24T14:15:22Z",
  "effectiveDate": "2019-08-24T14:15:22Z",
  "notes": "string",
  "metadata": [
    {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "key": "string",
      "value": "string"
    }
  ],
  "meterAttributes": [
    {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "allowedUses": 0,
      "totalUses": 0,
      "grossUses": 0,
      "floating": true
    }
  ],
  "product": {
    "id": "string",
    "displayName": "string",
    "iconUrl": "string",
    "description": "string"
  },
  "productVersion": {
    "displayName": "string"
  },
  "entitlementSet": {
    "name": "string"
  },
  "userId": "string",
  "user": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "firstName": "string",
    "lastName": "string",
    "email": "string",
    "role": "string",
    "twoFactorEnabled": true,
    "googleSsoEnabled": true,
    "lastLoginAt": "2019-08-24T14:15:22Z",
    "organizationId": "string",
    "organization": {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "email": "string",
      "description": "string",
      "allowedUsers": 0,
      "address": {
        "addressLine1": "string",
        "addressLine2": "string",
        "city": "string",
        "state": "string",
        "country": "string",
        "postalCode": "string"
      }
    },
    "company": "string"
  },
  "organizationId": "string",
  "organization": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "email": "string",
    "description": "string",
    "allowedUsers": 0,
    "address": {
      "addressLine1": "string",
      "addressLine2": "string",
      "city": "string",
      "state": "string",
      "country": "string",
      "postalCode": "string"
    }
  }
}