How do I check license status for Xray, and remove trial licenses?
You can check if your Xray instance has a trial license with the below API:
For 3.x:
curl -u
{"id":"For 2.x:
curl -u
{"id":"
No trial license will return no data.
You can run the below to remove a trial license via API:
For 7.x:
curl -u
{"info":"License deleted successfully"}
For 6.x:
curl -u
{"info":"License deleted successfully"}
You can run the below API to check the license status:
For 7.x
curl -u
{“status”:“Enterprise”}
For 6.x:
curl -u
