Skip to main content
POST
/
measured-boot-images
Upload a measured boot image
curl --request POST \
  --url https://api.cloud.onidel.com/measured-boot-images \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form team_id=96616865-475e-4191-aba5-f89f0a4b71fe \
  --form 'description=debian-12 measured boot'
{
  "id": "7c1f2a90-4b3d-4e21-9a8c-1d2e3f4a5b6c",
  "filename": "debian-12.uki.efi",
  "description": "debian-12 measured boot",
  "size": 52428800,
  "created": "2025-01-05T13:00:20.010Z"
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file
required

The UKI file.

team_id
string<uuid>

Team ID. Default team will be used if not provided.

Example:

"96616865-475e-4191-aba5-f89f0a4b71fe"

description
string

Optional description.

Example:

"debian-12 measured boot"

Response

Image uploaded

id
string<uuid>
Example:

"7c1f2a90-4b3d-4e21-9a8c-1d2e3f4a5b6c"

filename
string
Example:

"debian-12.uki.efi"

description
string
Example:

"debian-12 measured boot"

size
integer<int64>

Size in bytes.

Example:

52428800

created
string<datetime>
Example:

"2025-01-05T13:00:20.010Z"