# Restore a soft-deleted record by ID

`PUT /api/organization-languages/{id}/recover`

Authentication (security requirement alternatives):

```json
[
  {
    "bearer": []
  }
]
```

- bearer: http (bearer), header JWT. Enter JWT token

Responses:

- 202: Record restored successfully

- 401: Unauthorized

- 403: Forbidden

- 404: Record not found or not in a soft-deleted state

## Examples

### cURL

```bash
curl -X PUT 'http://localhost:3000/api/organization-languages/%7Bid%7D/recover' \
  -H 'Authorization: Bearer YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/organization-languages/%7Bid%7D/recover', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
  },
});

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

### Python

```python
import requests

response = requests.put(
    'http://localhost:3000/api/organization-languages/%7Bid%7D/recover',
    headers={
        'Authorization': 'Bearer YOUR_TOKEN',
    },
)
print(response.text)
```
