---
title: "Update a trial activation"
method: PATCH
path: "/v3/trial-activations/{id}"
tags: ["TrialActivations"]
---

# Update a trial activation

`PATCH /v3/trial-activations/{id}`

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

## Path parameters

- `id` string, required

## Request body

- TrialActivationRequestModel
  - `os` 'windows' | 'linux' | 'macos' | 'android' | 'ios', required — Name of the operating system.
  - `osVersion` string, nullable — Version of the operating system.
  - `fingerprint` string, required — Fingerprint of the machine.
  - `vmName` string, nullable — Name of the virtual machine.
  - `container` boolean, nullable — Whether app is run inside a container.
  - `hostname` string, required — Name of the host machine.
  - `userHash` string, required — Hash of the machine user name.
  - `productId` string, required — Unique identifier for the product.
  - `accountId` string, nullable, required — Unique identifier for the account.
  - `releaseVersion` string, nullable — The release version of the app. Only following three formats are allowed x.x, x.x.x, x.x.x.x.
  - `releaseChannel` string, nullable — The release channel of the app.
  - `releasePlatform` string, nullable — The release platform of the app.
  - `releasePublishedAt` string, date-time, nullable — This release published date (UTC) of the app.
  - `metadata` TrialActivationMetadataRequestModel[], nullable — List of metdata key/value pairs.
    - `key` string, required — Name of the key.
    - `value` string, required — Value of the key.

## Response `200`

OK

- TrialActivationTokenDto
  - `trialActivationToken` string, required

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/cryptlex/apis/cryptlex-web-api.md) · [All operations](https://skmtc.net/cryptlex/apis/cryptlex-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptlex/cryptlex-web-api/versions/ec1259c12475/schema)
