LicensesResource


Create a license


POST https://example.com/api/config/licenses

Roles : [ROLE_SYSCONFIG_ALLOW_MODIFY]

Content-Type : license Accept : license

Error Codes

  • LICENSE-4 - The maximum number of managed cores has been reached - please use the Abiquo support portal or email sales@abiquo.com for a trial or production license
  • LICENSE-5 - The license is already being used

Example

List licenses


GET https://example.com/api/config/licenses

Roles : [ROLE_SYSCONFIG_VIEW, ROLE_PHYS_DC_MANAGE, ROLE_PCR_MANAGE]

Parameter Type Default Value Description
active String If true, list only the active licenses. If false, list only disabled licenses.

Accept : licenses

Example

Delete a license


DELETE https://example.com/api/config/licenses/{license}

Roles : [ROLE_SYSCONFIG_ALLOW_MODIFY]

Example

Get a license


GET https://example.com/api/config/licenses/{license}

Roles : [ROLE_SYSCONFIG_VIEW]

Accept : license

Error Codes

  • LICENSE-0 - The requested license does not exist

Example