Download OpenAPI specification:Download
API allowing resellers to create and manage contracts
You can retrieve a complete list of admin users of the contract
contractNumber required | integer <int64> |
[- {
- "id": "15514",
- "firstName": "string",
- "lastName": "string",
- "email": "string"
}
]
contractNumber required | integer <int64> |
firstName required | string first name of the user |
lastName required | string last name of the user |
email required | string email of the user |
password required | string password of the user |
{- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "password": "string"
}
{- "id": "15514",
- "firstName": "string",
- "lastName": "string",
- "email": "string"
}
This method call will remove admin user from the contract. This is a highly destructive method and must be used with caution.
contractNumber required | integer <int64> |
adminId required | integer <int64> |
{ }
You can use this method to partially update admin user properties (firstName and/or lastName and/or email)
contractNumber required | integer <int64> |
adminId required | integer <int64> |
firstName required | string first name of the user |
lastName required | string last name of the user |
email required | string email of the user |
{- "firstName": "string",
- "lastName": "string",
- "email": "string"
}
{- "id": "15514",
- "firstName": "string",
- "lastName": "string",
- "email": "string"
}
Retrieve a paginated list of contracts, provisioned under the Master Reseller contract. Default limit is the first 5000 items; use pagination query parameters for listing more items.
offset | integer <int32> >= 0 Default: 0 The first element (from the complete list of the elements) to include in the response (used together with limit for pagination). |
limit | integer <int32> [ 1 .. 5000 ] Default: 5000 The maximum number of elements to return (use together with offset for pagination). |
[- {
- "id": "15514",
- "name": "string",
- "resellerReference": "string",
- "status": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
]
name required | string name of the contract |
resellerReference | string reseller reference of the contract |
required | object (ResourceLimits) |
{- "name": "string",
- "resellerReference": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
{- "id": "15514",
- "name": "string",
- "resellerReference": "string",
- "status": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
contractNumber required | integer <int64> |
{- "id": "15514",
- "name": "string",
- "resellerReference": "string",
- "status": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
contractNumber required | integer <int64> |
ramServerMax required | integer <int32> maximum ram per virtual machine |
cpuServerMax required | integer <int32> maximum number of cpu per virtual machine |
hddVolumeMaxSize required | integer <int32> maximum hdd volume size |
ssdVolumeMaxSize required | integer <int32> maximum ssd volume size |
ramContractMax required | integer <int32> maximum ram per contract |
cpuContractMax required | integer <int32> maximum cpu per contract |
hddVolumeContractMaxSize required | integer <int32> maximum hhd volume per contract |
ssdVolumeContractMaxSize required | integer <int32> maximum ssd volume per contract |
ips required | integer <int32> maximum ips per contract |
{- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
{- "id": "15514",
- "name": "string",
- "resellerReference": "string",
- "status": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
contractNumber required | integer <int64> |
{- "id": "15514",
- "name": "string",
- "resellerReference": "string",
- "status": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
contractNumber required | integer <int64> |
name required | string name of the contract |
resellerReference | string reseller reference of the contract |
required | object (ResourceLimits) |
{- "name": "string",
- "resellerReference": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
{- "id": "15514",
- "name": "string",
- "resellerReference": "string",
- "status": "string",
- "resourceLimits": {
- "ramServerMax": 0,
- "cpuServerMax": 0,
- "hddVolumeMaxSize": 0,
- "ssdVolumeMaxSize": 0,
- "ramContractMax": 0,
- "cpuContractMax": 0,
- "hddVolumeContractMaxSize": 0,
- "ssdVolumeContractMaxSize": 0,
- "ips": 0
}
}
{- "name": "CLOUD API",
- "version": "1.0"
}