Extend a trial activation

Extends the trial expiry by extension length.

POST/v3/trial-activations/{id}/extend
JWT
trialActivation:write

Parameters

NameTypeInDescription
id*stringpath

Request Body Schema

PropertyTypeDescriptionConstraints

Request Example

{
  "extensionLength": 1
}
Triggers webhook: trialActivation.extended
POST <your-webhook-url>
{
  "event": "trialActivation.extended",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "os": "windows",
    "osVersion": "string",
    "hostname": "string",
    "location": {
      "ipAddress": "string",
      "countryCode": "string",
      "countryName": "string",
      "regionCode": "string",
      "regionName": "string",
      "city": "string",
      "zipCode": "string",
      "timeZone": "string",
      "latitude": 0.1,
      "longitude": 0.1
    },
    "vmName": "string",
    "container": true,
    "appVersion": "string",
    "releaseVersion": "string",
    "releaseChannel": "string",
    "releasePlatform": "string",
    "offline": true,
    "productId": "string",
    "expiresAt": "2019-08-24T14:15:22Z",
    "metadata": [
      {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "key": "string",
        "value": "string"
      }
    ]
  },
  "triggeredAt": "string"
}

Responses

200 OK
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "os": "windows",
  "osVersion": "string",
  "hostname": "string",
  "location": {
    "ipAddress": "string",
    "countryCode": "string",
    "countryName": "string",
    "regionCode": "string",
    "regionName": "string",
    "city": "string",
    "zipCode": "string",
    "timeZone": "string",
    "latitude": 0.1,
    "longitude": 0.1
  },
  "vmName": "string",
  "container": true,
  "appVersion": "string",
  "releaseVersion": "string",
  "releaseChannel": "string",
  "releasePlatform": "string",
  "offline": true,
  "productId": "string",
  "expiresAt": "2019-08-24T14:15:22Z",
  "metadata": [
    {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "key": "string",
      "value": "string"
    }
  ]
}