# Product License REST API

## POST to Install a Product License

A System Administrator is required to use this request:

```
POST /api/v2/product/license
```

The POST request must use the `multipart/form-data` content type and must have one name/value pair with "file" as the name and the product license as the value.

For example, using a local installation of IQ Server with its default configuration and assuming the product license is located at `/some/path/license.lic`, a request using the cURL tool would be:

```
curl -u admin:admin123 -F file="@/path/license.lic" http://localhost:8070/api/v2/product/license
```

The "@" symbol is required.

## DELETE to Uninstall a Product License

A System Administrator is required to delete the license.

**Note**

You will not be able to use the IQ Server until a valid license has been installed.

```
DELETE /api/v2/product/license
```

For example, using a local installation with its default configuration, a request using the cURL tool would be:

```
curl -u admin:admin123 -X DELETE http://localhost:8070/api/v2/product/license
```

## Search results

No results found
