# Recover a deleted soundshot

`PATCH /api/plugins/soundshots/{id}`

Soft-recovers a previously deleted soundshot using its UUID and the plugin ID.

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, uuid, required) - UUID of the soundshot to recover
  Type: string, uuid

Responses:

- 200: Soundshot recovered successfully.

- 401: Unauthorized access.

- 403: User does not have permission to recover this soundshot.

- 404: Soundshot record not found.

## Examples

### cURL

```bash
curl -X PATCH 'http://localhost:3000/api/plugins/soundshots/550e8400-e29b-41d4-a716-446655440000'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/soundshots/550e8400-e29b-41d4-a716-446655440000', {
  method: 'PATCH',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.patch('http://localhost:3000/api/plugins/soundshots/550e8400-e29b-41d4-a716-446655440000')
print(response.text)
```
