---
title: "Reclaim Licenses for a Software Application."
method: POST
path: "/softwareapps/{software_app_id}/reclaim-licenses"
tags: ["Software Apps"]
---

# Reclaim Licenses for a Software Application.

`POST /softwareapps/{software_app_id}/reclaim-licenses`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/reclaim-licenses`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/softwareapps/:software_app_id/reclaim-licenses/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to reclaim the licenses from a software app associated with devices that are deleted.
#### Sample Request
```
$ curl -X POST https://console.jumpcloud.com/api/v2/softwareapps/{software_app_id}/reclaim-licenses \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}' \
-d '{}'
```

## Response `200`

Reclaim Licenses Response

- SoftwareAppReclaimLicenses
  - `assignedLicenses` integer
  - `availableLicenses` integer
  - `reclaimedLicenses` integer
  - `totalLicenses` integer

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
