原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/get-basic-status.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/get-basic-status.html
本地英文版地址: ../en/get-basic-status.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Get basic status APIedit
This API enables you to check the status of your basic license.
Requestedit
GET /_license/basic_status
Descriptionedit
In order to initiate a basic license, you must not currently have a basic license.
For more information about the different types of licenses, see https://www.elastic.co/subscriptions.
Authorizationedit
You must have monitor
cluster privileges to use this API.
For more information, see Security privileges.
Examplesedit
The following example checks whether you are eligible to start a basic:
GET /_license/basic_status
Example response:
{ "eligible_to_start_basic": true }