> ## Documentation Index
> Fetch the complete documentation index at: https://docs.midasprotocol.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Update & Delete Service

> Modify or remove a service listing

## Update

<div className="font-mono text-sm mb-4">PUT /services/{id}</div>

Send only the fields you want to update.

```bash theme={null}
curl -X PUT https://api.midasprotocol.org/services/service-uuid \
  -H "Authorization: Bearer pp_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "priceAmount": 8 }'
```

***

## Delete

<div className="font-mono text-sm mb-4">DELETE /services/{id}</div>

Performs a soft delete (sets `isActive: false`).

```bash theme={null}
curl -X DELETE https://api.midasprotocol.org/services/service-uuid \
  -H "Authorization: Bearer pp_your_key"
```

**Response:** `{ "id": "uuid", "deleted": true }`
