Remove the stored license key
DELETE
/api/v1/license
const url = 'http://localhost:8080/api/v1/license';const options = { method: 'DELETE', headers: { cookie: 'brokerium_session=<brokerium_session>', 'X-Brokerium-Request': '1' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:8080/api/v1/license \ --header 'X-Brokerium-Request: 1' \ --cookie brokerium_session=<brokerium_session>Role: admin. Enterprise builds only. Enterprise features are locked afterwards. Audited as license.delete.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Brokerium-Request
required
string
Required on every non-GET request.
Responses
Section titled “Responses”Removed.
The server runs the Community edition (edition_required), or the key comes from BROKERIUM_LICENSE or BROKERIUM_LICENSE_FILE and can only be changed there (license_managed_externally).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}Apache®, Apache Kafka® and Kafka® are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Brokerium is not affiliated with, endorsed by, or sponsored by the Apache Software Foundation.