POST
/
accounts
/
{id}
/
allocations
curl --request POST \
  --url https://api-network.joinmassive.com/resellers/accounts/{id}/allocations \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "limit": 123
}'
{
  "created_at": 1708526022,
  "limit": 1000000
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Body

application/json
limit
integer

The amount of bytes to allocate (cannot be 0).

Response

200
application/json
The allocation that was just made for the account.
created_at
integer

The time in unix seconds at which the allocation was made.

Example:

1708526022

limit
integer

The allocated traffic in bytes.

Example:

1000000