---
title: "Delete a user's custom report"
method: DELETE
path: "/api/user/custom-reports/{id}"
tags: ["User Custom Reports"]
---

# Delete a user's custom report

`DELETE /api/user/custom-reports/{id}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/user/custom-reports/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/custom-reports/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Soft deletes the user's copy of a custom report. Only the owner can delete their report. This does not affect the original admin report or other users' copies.

## Path parameters

- `id` integer, required

## Response `200`

Report deleted successfully

- UserCustomReportResource
  - `id` integer
  - `name` string
  - `description` string, nullable
  - `type` string
  - `url` string, nullable
  - `created_at` string
  - `is_viewed` boolean, nullable

## Other responses

- `403`: Access denied - user is not the owner of this report
- `404`: Report not found

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
