Skip to content

Rename an ISO

PATCH/isos/{iso}

Overview

Changes the name of an ISO. Send a name of up to 40 characters. Names do not have to be unique. The stored file is not renamed and servers with the image mounted are not affected.

Permissions

Requires the iso.update (Manage ISO images) permission for the selected team. Resources outside that team return 404.

curl --request PATCH \
  --url 'https://console.advinservers.com/api/v1/client/isos/{iso}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Ubuntu 24.04.1 Live Server"
}'
{
  "uuid": "ec4fa5b5-cc7c-4fcf-b280-ee55eca8d44b",
  "uuid_short": "Uuid short",
  "name": "Ubuntu 24.04.1 Live Server",
  "file_name": "client-67d74fbd-2dc5-4f95-a946-c504a98f59fb-pASjFJotP7rB.iso",
  "size": 2774532096,
  "is_successful": true,
  "status": "ready",
  "is_preparing": false,
  "mounted_server_count": 1,
  "mounted_on_this_server": true,
  "mounted_on_other_servers_count": 0,
  "mounted_servers": [
    {
      "uuid": "ecc6f4f1-c89b-4dce-a20b-a330641c5b0b",
      "uuid_short": "Uuid short",
      "name": "lambda-core",
      "windows": false,
      "template_name": "Ubuntu 24.04",
      "template_icon_url": "/assets/icons/ubuntu.png"
    }
  ],
  "can_delete": true,
  "owned_by_server_owner": true,
  "completed_at": "2026-09-10 13:27:41",
  "created_at": "2026-09-10T13:25:01.000000Z",
  "download_progress": 100,
  "download_started_at": "2026-09-10T13:25:04.000000Z"
}

Authorization

Authorizationstringheaderrequired

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Send it as Bearer <token>.

Path parameters

isostringrequired

The iso uuid short

Body

application/json
namestringrequired

The name shown to customers.

1 to 40 characters

Response 200

application/json

The record, as a JSON object. There is no envelope.

uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

file_namestring | nullrequired

The value of file_name.

sizeinteger | nullrequired

The value of size.

is_successfulboolean | nullrequired

Null until the download finishes, which is a third state and not a failure: a row created the moment a fetch is queued has never been written to. Published as null and kept that way.

statusstringrequired

The value of status.

One of: downloading, failed, ready

is_preparingbooleanrequired

The download has finished and the image is being prepared for mounting.

mounted_server_countintegerrequired

The total number of servers using this image, including servers outside the current team. The image cannot be deleted while mounted.

mounted_on_this_serverbooleanrequired

The value of mounted_on_this_server.

mounted_on_other_servers_countintegerrequired

The number of mounted on other servers count.

mounted_serversobject[]required

Visible servers using this image. Empty without deletion permission. The mount count may be higher because it includes inaccessible servers.

Show child attributes
uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

windowsbooleanrequired

The value of windows.

template_namestring | nullrequired

The value of template_name.

template_icon_urlstring | nullrequired

The custom icon a customer set, falling back to the template's. Read through the model so the places that draw a server's icon cannot disagree about which one wins.

can_deletebooleanrequired

Whether the customer can delete.

owned_by_server_ownerbooleanrequired

False only for a member of staff's own image showing up on a customer's server. Account-level listings are all the viewer's own, so nothing there is ever flagged.

completed_atstring | nullrequired

A string, not a date object, and deliberately so: the column carries no datetime cast, so this has always gone out as MySQL wrote it ("2026-08-19 18:20:41") rather than in the ISO-8601 form created_at below uses. Two formats in one payload is not a design, it is what is published, and changing it would move a date under every caller that parses it.

created_atstring<date-time> | nullrequired

The date and time for created at, in UTC.

download_progressintegerrequired

Percent, and zero rather than null while nothing has started.

download_started_atstring<date-time> | nullrequired

The date and time for download started at, in UTC.

Errors

401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
404
The resource was not found in the selected team. Resources in another account or team also return 404.
422
A field is missing or invalid, or the resource cannot accept this change in its current state. Check message for details. Field validation also includes an errors object keyed by field name.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.