PUT
/
cloud
/
v1
/
reseller_image
curl --request PUT \
  --url https://api.gcore.com/cloud/v1/reseller_image \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "image_ids": [
    "b5b4d65d-945f-4b98-ab6f-332319c724ef",
    "0052a312-e6d8-4177-8e29-b017a3a6b588"
  ],
  "region_id": 1,
  "reseller_id": 123
}'
{
  "image_ids": [
    "b5b4d65d-945f-4b98-ab6f-332319c724ef",
    "0052a312-e6d8-4177-8e29-b017a3a6b588"
  ],
  "region_id": 1,
  "reseller_id": 123
}

Authorizations

APIKey
string
header
required

API key for authentication.

Body

application/json

Reseller and cloud admin can change the set of images available to reseller clients. Firstly, they may limit the number of public images available. Secondly, can share the image of the reseller client to all clients of the reseller. If image_ids = None for the reseller, all public images will be available to them. If image_ids = [] for the reseller, all public images will be unavailable to the client.

Response

200 - application/json

OK

Reseller and cloud admin can change the set of images available to reseller clients. Firstly, they may limit the number of public images available. Secondly, can share the image of the reseller client to all clients of the reseller. If image_ids = None for the reseller, all public images will be available to them. If image_ids = [] for the reseller, all public images will be unavailable to the client.