---
title: "License"
method: POST
path: "/api/3/administration/license"
tags: ["Administration"]
---

# License

`POST /api/3/administration/license`

Licenses the product with an activation key or a provided license file. If both are provided, the license file is preferred. <br>**Privileges:** Global Administrator

## Query parameters

- `key` string

## Request body

- object
  - `license` string, binary — The contents of a license (.lic) file. This should be sent with a content type of `multipart/form-data`.

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/rapid7/apis/rapid7-vm-api.md) · [All operations](https://skmtc.net/rapid7/apis/rapid7-vm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapid7/rapid7-vm-api/revisions/3a8197c22d71/schema)
