License management API

The /license API endpoints

For more information about license-activated features designed for enterprises, see the getting started guide.

/license (GET)

The /license API endpoint provides HTTP GET access to the active license configuration.

API Specification

/license (GET)
description Returns the active enterprise license configuration. To download your license, log in to your Sensu account or contact the Sensu sales team for a free trial.
example url http://hostname:8080/api/enterprise/licensing/v2/license
response type Map
response codes
  • Success: 200 (OK)
  • Error: 500 (Internal Server Error)

/license (PUT)

The /license API endpoint provides HTTP PUT access to activate an enterprise license.

API Specification

/license (PUT)
description Activates an enterprise license, or updates an existing license configuration. To download your license, log in to your Sensu account or contact the Sensu sales team for a free trial.
example url http://hostname:8080/api/enterprise/licensing/v2/license
payload License definition
response codes
  • Success: 201 (Created)
  • Malformed: 400 (Bad Request)
  • Error: 500 (Internal Server Error)