@nuralogix.ai/dfx-api-client / HTTP / Licenses

Licenses

Licenses end points

These endpoints allow to list Licenses available to your User/Organization.

Sample code

const apiClient = client();
const response = await apiClient.http.licenses.listOrgLicenses();
const { status, body } = response;
if (status !== '200') {
    /**
     * TypeScript knows that once we are inside this block, the only response
     * shape that matches a non "200" response is the ErrorResponse
    */
    throw body;
}
/** Otherwise the shape of the response is LicensesList200Response */
console.log(body.MaxDevices);

Methods

listOrgLicenses

listOrgLicenses()

List licenses available to your User/Organization.

Endpoint Action ID = 1406

Returns

Promise<ErrorResponse | LicensesList200Response>