LicenseOperationRequest

LicenseOperationRequest
License Operation Request

The operation request for license management API. Attribute 'operation' is mandatory. As per operation value corresponding request object should be provided in request payload.

JSON Example
{
    "operation": "CREATE",
    "license_split_request": {
        "source_license_id": "23c40386-1223-4052-b3e6-a85fbca0ff2c",
        "name": "new-split-license",
        "quantity": 2000
    },
    "license_create_request": [
        {
            "serial_number": "530530-1-1",
            "name": "new-create-license",
            "quantity": 2000
        }
    ],
    "license_update_request": [
        {
            "id": "b5ab36ea-8059-48c7-b6e4-0250c8328132",
            "name": "updated-license-name",
            "quantity": 500
        }
    ],
    "license_delete_request": {
        "ids": [
            "9bdba73e-fcea-4fee-88ff-511aa5995a92",
            "6e8be3bd-9b3f-4c01-a8d0-8a063ccaaa36"
        ]
    },
    "license_associate_request": {
        "vcf_ops_id": "69bf0f0f-fd6c-492b-8a75-8b1544781c37",
        "ids": [
            "9bdba73e-fcea-4fee-88ff-511aa5995a92",
            "6e8be3bd-9b3f-4c01-a8d0-8a063ccaaa36"
        ]
    },
    "license_dissociate_request": {
        "vcf_ops_id": "69bf0f0f-fd6c-492b-8a75-8b1544781c37",
        "ids": [
            "9bdba73e-fcea-4fee-88ff-511aa5995a92",
            "6e8be3bd-9b3f-4c01-a8d0-8a063ccaaa36"
        ]
    }
}
operation
Required

The operation to perform for a license, options are:

  • SPLIT: Create a split license from a given default license (allowed only for Direct Customer)
  • CREATE: Create license for given subscription (allowed only for Provider)
  • UPDATE: Update name or quantity of a license
  • DELETE: Delete a license
  • ASSOCIATE: Associate license with VCF ops instance
  • DISSOCIATE: Dissociate license from VCF ops instance
Possible values are : SPLIT, CREATE, UPDATE, DELETE, ASSOCIATE, DISSOCIATE,
license_split_request
Optional

Request json to create a new split license.

license_create_request
Optional

license_create_request

license_update_request
Optional

license_update_request

license_delete_request
Optional

Request json to delete one or more licenses

license_associate_request
Optional

Request json to associate or disassociate a license with vcf ops instance.

license_dissociate_request
Optional

Request json to associate or disassociate a license with vcf ops instance.