---
title: "Delete a preference"
method: DELETE
path: "/users/me/preferences/{key}"
tags: ["Users"]
---

# Delete a preference

`DELETE /users/me/preferences/{key}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/users/me/preferences/{key}`
- Auth: HTTP bearer

Delete a preference for the authenticated user

## Path parameters

- `key` string, required

## Response `204`

Preference deleted successfully

## Other responses

- `401`: Unauthorized
- `404`: Preference not found

---

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