Confirm if the current workspace is an enterprise edition workspace.
URL | Requires Auth | HTTP Method |
---|---|---|
/api/v1/licenses.isEnterprise |
Optional |
GET |
Argument | Example | Required | Description |
---|---|---|---|
X-User-Id | myuser-name | Required | The authenticated user ID. |
X-Auth-Token | myauth-token | Required | Auth token. |
curl --location 'http://localhost:3000/api/v1/licenses.isEnterprise' \
--header 'x-auth-token: iqJERsuaUgzVSmPMV87RdMThc_yFhK8U5T5mr6Z5CPs' \
--header 'x-user-id: wxnehxdyBPuPyQaNa' \
{
"isEnterprise": true,
"success": true
}
Any of the following errors can occur on the endpoint.
- Authorization: Requires an authentication token for the request to be made.
{% tabs %} {% tab title="Authorization" %}
{
"status": "error",
"message": "You must be logged in to do this."
}
{% endtab %} {% endtabs %}
Version | Description |
---|---|
5.0.0 | Added |