Skip to main content
DELETE
/
project
/
{project_id}
/
location
/
{location}
/
machine-image
/
{machine_image_reference}
/
version
/
{version}
Delete a specific version of a machine image
curl --request DELETE \
  --url https://api.ubicloud.com/project/{project_id}/location/{location}/machine-image/{machine_image_reference}/version/{version} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": 401,
    "message": "There was an error logging in",
    "type": "InvalidCredentials",
    "details": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://ubicloud.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

machine_image_reference
string
required

Machine Image ID or name Resource ID or name

Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
version
string
required

Version label of the machine image

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$

Response

An empty response after successful resource delete