---
title: "Add or update images in Grendel"
method: POST
path: "/bootimage"
tags: ["image"]
---

# Add or update images in Grendel

`POST /bootimage`

## Request body

- BootImage[]
  - `id` string
  - `name` string, required
  - `kernel` string
  - `initrd` string[]
  - `liveimg` string
  - `cmdline` string
  - `verify` boolean

## Response `201`

successfully stored images

## Other responses

- `400` — Invalid boot image input supplied
- `500` — Failed to store images in database

## Changes

- **2024-12-03** `29c6a9c3f49b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ubccr/apis/grendel-api/changes/bootimage/post.md)

---

[API](https://skmtc.dev/ubccr/apis/grendel-api.md) · [All operations](https://skmtc.dev/ubccr/apis/grendel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ubccr/grendel-api/revisions/29c6a9c3f49b/schema)
