# Update the license
**POST /_license**
**All methods and paths for this operation:**
PUT
/_license
POST
/_license
You can update your license at runtime without shutting down your nodes.
License updates take effect immediately.
If the license you are installing does not support all of the features that were available with your previous license, however, you are notified in the response.
You must then re-submit the API request with the acknowledge parameter set to true.
NOTE: If Elasticsearch security features are enabled and you are installing a gold or higher license, you must enable TLS on the transport networking layer before you install the license.
If the operator privileges feature is enabled, only operator users can use this API.
## Required authorization
* Cluster privileges: `manage`
## Servers
- http://api.example.com: http://api.example.com ()
## Authentication methods
- Api key auth
- Basic auth
- Bearer auth
## Parameters
### Query parameters
- **acknowledge** (boolean)
To update a license, you must accept the acknowledge messages and set this parameter to `true`.
In particular, if you are upgrading or downgrading a license, you must acknowlege the feature changes.
- **master_timeout** (string)
The period to wait for a connection to the master node.
- **timeout** (string)
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
### Body: application/json (object)
- **license** (object)
- **licenses** (array[object])
A sequence of one or more JSON documents containing the license information.
## Responses
### 200
#### Body: application/json (object)
- **acknowledge** (object)
- **acknowledged** (boolean)
- **license_status** (string)
[Powered by Bump.sh](https://bump.sh)