---
title: "Delete user setting"
method: DELETE
path: "/api/user/settings/{id}"
tags: ["User Management"]
---

# Delete user setting

`DELETE /api/user/settings/{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/settings/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/settings/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a user setting and associated cookies if applicable.

## Path parameters

- `id` integer, required

## Response `204`

Setting deleted successfully

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden - Not authorized to delete this setting
- `404`: Setting not found
- `500`: Failed to delete setting

---

[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)
