Skip to main content

Effective 10 September 2024, API Documentation can be found on our Equinix Product Documentation site.
The content on this page will not be updated after 1 Oct 2024 and will be inaccessible after 31st Dec 2024.


Licensing

Post License File

 POST /ne/v1/devices/licenseFiles
MethodPOST
URL or End Point/ne/v1/devices/licenseFiles
HeadersAuthorization, Content-Type
Query ParametermetroCode, deviceTypeCode, licenseType
Form Datafile

Posts a license file from your vendors in case you want to BYOL for a new virtual device. For Juniper and Fortinet devices, you must post a license before creating a virtual device. The response includes a fileId that can be used to create a virtual device.

 

To obtain an authorization token, refer to Requesting Access and Refresh tokens under the Getting Access Token section.

Sample curl request:

POST "https://api.equinix.com/ne/v1/devices/licenseFiles?metroCode=SV&deviceTypeCode=CSRSDWAN&licenseType=BYOL"
-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
-H "content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW"
-F "file=@C:\Users\sroy\Desktop\Documents-equinix\CSR-FA819DC1-96FE-497A-89B4-FE3C897C981F.cfg"

Query parameters:

Query Parameter NameMandatoryTypeExampleApplicable ValuesDescription
metroCodeYesstringSVMetro code. Metro location for which you want to post a license file.
deviceTypeCodeYesstringCSRSDWANDevice type code. Find deviceTypeCode by calling Get device types.
licenseTypeYesstringBYOLBYOLLicense type.
Form Parameter NameMandatoryTypeExampleApplicable ValuesDescription
formDataYesfileCSR-FA819DC1-96FE-497A-89B4-FE3C897C981F.cfgA license file that your vendor has provided.

Sample response:

{
"fileId": "e0578172-7461-458f-91db-634f865fcaf5"
}

Description of the 200 Okay response payload:

FieldTypeExample ValuesDescription
fileIdstringe0578172-7461-458f-91db-634f865fcaf5File Id. You can use this ID to create a virtual device on the Network Edge platform.
 

If you get “Access Denied” error, contact your local Equinix Service Desk.

Post License {uuid}

 POST /ne/v1/devices/{uuid}/licenseFiles
MethodPOST
URL or End Point/ne/v1/devices/{uuid}/licenseFiles
HeadersAuthorization, Content-Type
Path Parameteruuid
Form Datafile

Re-posts a license file in case a provisioned device experiences a license registration failure (REGISTRATION_FAILED). For a redundant device, you must upload two license files, one for each device.

You can only re-post a license file for Equinix-configured devices.


 

To obtain an authorization token, refer to Requesting Access and Refresh tokens under the Getting Access Token section.


Sample curl request:

curl -X
POST "https://api.equinix.com/ne/v1/devices/299ad92a-70ed-4410-91b1-bb99dbb7b9ad/licenseFiles"
-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
-H "content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW"
-F "file=@C:\Users\sroy\Desktop\Documents-equinix\licenseFile.lic"

Path parameter:

Path Parameter NameMandatoryTypeExampleApplicable ValuesDescription
uuidYesstringef673cd4-9fc2-4ab4-810e-7274aaf7bc2dUnique ID of a virtual device.
Form Parameter NameMandatoryTypeExampleApplicable ValuesDescription
formDataYesfilesroyt.licLicense file.

Sample response:

{
"fileId": "469240e0-7376-49ce-90ea-8d254b69d2bd"
}

The description of the response payload:

FieldTypeExample ValuesDescription
fileIdstring6651aef5-e738-411f-8675-5f6b7b9cd429File Id.
 

If you get “Access Denied” error, contact your local Equinix Service Desk.


Update License

 PUT /ne/v1/devices/{uuid}/licenseTokens
MethodPUT
URL or End Point/ne/v1/devices/{virtualDeviceUuid}/licenseTokens
HeadersAuthorization, Content-Type
Path ParametervirtualDeviceUuid
Body Parametertoken

Updates a license token/code/ID in case your license fails to register (REGISTRATION_FAILED) at the time of device creation. This request primarily addresses Cisco and Palo Alto devices that require a token to bring your own license (BYOL).

 

To obtain an authorization token, refer to Requesting Access and Refresh tokens under the Getting Access Token section.

Curl request:

curl -X
PUT "https://api.equinix.com/ne/v1/devices/9a47a75e-164b-4c1c-8678-7b3605d4dd32/licenseTokens"
-H "content-type: application/json"
-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
-d "{
"token": "V74191621"
}"

Path parameter:

Path Parameter NameMandatoryTypeExampleApplicable ValuesDescription
uuidYesstring9a47a75e-164b-4c1c-8678-7b3605d4dd32The unique Id of a virtual device

Body parameter:

Body Parameter NameMandatoryTypeExampleApplicable ValuesDescription
tokenYesstringV74191621License token/Code/ID. This field must have 8 alphanumeric characters.

Sample response:

202 Accepted

The description of the response payload:

HTTP StatusDescription
202 AcceptedToken/code/ID was accepted.
 

If you get “Access Denied” error, contact your local Equinix Service Desk.