# Reset Licenses(Custom-Bulk)

## Custom Bulk Reset

**URL** : `/api/v1/licenses/custom_bulk_reset`

**Method** : `POST`

#### Data example

```json
{
  "license_ids": [1592475759071739],
  "reset_validity_period": true,
  "reset_consumptions": true,
  "reset_maintenance_period": true,
  "reset_product_features": true,
  "reset_custom_fields": true,
  "reset_metadata": true
}
```

#### Body Parameters

| Parameter                  | Type      | Description                                 |
| -------------------------- | --------- | ------------------------------------------- |
| `license_ids`              | `array`   | **Required.** List of license IDs to reset. |
| `reset_validity_period`    | `boolean` | Resets the license validity period.         |
| `reset_consumptions`       | `boolean` | Resets consumption counters.                |
| `reset_maintenance_period` | `boolean` | Resets the maintenance period.              |
| `reset_product_features`   | `boolean` | Resets product features to their defaults.  |
| `reset_custom_fields`      | `boolean` | Resets custom field values.                 |
| `reset_metadata`           | `boolean` | Resets license metadata.                    |

#### Success Response

**Code** : `200 OK`

**Content example** :

```json
{
  "message": "Licenses reset successfully."
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.licensespring.com/management-api/license/reset-licenses-custom-bulk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
