Breadcrumbs

Metavault API - Set license

SetLicense - POST

Path

/api/license

Http Method

POST

Overview

NO LICENSE

Set the active license.

Required permissions

  • Global administration privileges. ADMIN

Request

Request body

The license XML. Content-Type should therefore be application/xml or text/xml

Response

Success response (200 OK)

JSON
{
  "name": "Bevault developer license",
  "owner": "contact@dfakto.com",
  "validFrom": "2025-09-01T00:00:00+02:00",
  "validUntil": "2026-02-28T22:59:59+01:00",
  "status": "Valid",
  "messages": []
}
Response fields

Field

Type

Description

name

string

Name of the license

owner

string

Owner of the license

validFrom

string

License validity start.

validUntil

string

License end of validity. After this period, the application will be blocked.

status

string

One of:

  • Valid: The license is valid.

  • Warning: The license is valid but issues may arise in the future.

  • Blocked: The license is invalid, and the application is blocked.

messages

array of string

A list of messages relevant to the license. Typically if the status is Warning, a message will clarify why.