---
title: "Remove one image"
method: DELETE
path: "/api/v1/projects/{id}/images/{ordinal}"
tags: ["images"]
---

# Remove one image

`DELETE /api/v1/projects/{id}/images/{ordinal}`

## Request

- Base URL: `https://goshipyard.app`
- URL: `https://goshipyard.app/api/v1/projects/{id}/images/{ordinal}`
- Auth: HTTP bearer

Owner only. Deletes the image at the given ordinal.

## Response `200`

The project with the image removed.

- Project
  - `id` string, required
  - `slug` string, required
  - `owner_handle` string, required
  - `title` string, required
  - `pitch` string, required
  - `body` string, required: Long-form markdown.
  - `url` string, uri, required
  - `repo_url` string, required
  - `category` 'devtools' | 'ai' | 'games' | 'productivity' | 'design' | 'social' | 'data' | 'creative' | 'other', required
  - `upvotes` integer, required
  - `reviews` integer, required
  - `featured` boolean, required
  - `voted` boolean: Whether the caller has upvoted this project. Present on single-project reads (GET /projects/{id}) and the upvote endpoints; omitted from list responses.
  - `created_at` string, date-time, required
  - `images` ProjectImage[], required
    - `ordinal` integer, required: 0 = hero, 1–2 = gallery.
    - `url` string, uri, required
  - `html_url` string, uri, required: Human-facing project page.

## Other responses

- `401`: Missing or invalid API key.
- `403`: Authenticated, but not the owner of this resource.
- `404`: Resource not found.
- `422`: Request failed validation.
- `429`: Too many requests — slow down.

---

[API](https://skmtc.dev/goshipyard/apis/shipyard-api.md) · [All operations](https://skmtc.dev/goshipyard/apis/shipyard-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goshipyard/apis/shipyard-api/revisions/8f12372f1065?raw)
