Skip to main content
POST
/
kvm
/
v2
/
set
/
additional_pool_traffic
Assign Traffic Resources from Global Pool
curl --request POST \
  --url https://{api_host}.edisglobal.com/kvm/v2/set/additional_pool_traffic \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data signature=session_signature_12345 \
  --data kvm_id=kvm_123456_789012 \
  --data valid_until=1737476000 \
  --data api_host=xxxxx.edisglobal.com \
  --data traffic=10
{
  "status": "success",
  "assigned_traffic": 10
}

Body

application/x-www-form-urlencoded

Required parameters to assign traffic resources.
All parameters must be passed in the request body as application/x-www-form-urlencoded.

signature
string

The session signature obtained from the "Create AUTH-session" call.

Example:

"session_signature_12345"

kvm_id
string

The unique identifier of the KVM VPS.

Example:

"kvm_123456_789012"

valid_until
string

The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.

Example:

"1737476000"

api_host
string

The API host URL obtained from the "Create AUTH-session" call.

Example:

"xxxxx.edisglobal.com"

traffic
integer

The amount of traffic to assign from the global pool (in GB).

Example:

10

Response

Traffic resources assigned successfully.

status
string

The status of the operation.

Example:

"success"

assigned_traffic
integer

The amount of traffic assigned (in GB).

Example:

10

I