# PUT /api/candidate-educations/{id}

Authentication (security requirement alternatives):

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

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

Request body: application/json (required)

Type: object

Schema: [UpdateCandidateEducationDTO](https://sourcey-gauzy.pages.dev/api-reference/models/updatecandidateeducationdto/index.md)

- `schoolName` (required)
  Type: string
  
  readOnly: true

- `degree` (required)
  Type: string
  
  readOnly: true

- `field` (required)
  Type: string
  
  readOnly: true

- `completionDate` (required)
  Type: string, date-time
  
  readOnly: true

- `notes` (required)
  Type: string
  
  readOnly: true

Responses:

- 200: 

- 401: Unauthorized

- 403: Forbidden

## Examples

### cURL

```bash
curl -X PUT 'http://localhost:3000/api/candidate-educations/%7Bid%7D' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  --data-raw '{}'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/candidate-educations/%7Bid%7D', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
    'Content-Type': 'application/json',
  },
  body: '{}',
});

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

### Python

```python
import requests

response = requests.put(
    'http://localhost:3000/api/candidate-educations/%7Bid%7D',
    data='{}'.encode('utf-8'),
    headers={
        'Authorization': 'Bearer YOUR_TOKEN',
        'Content-Type': 'application/json',
    },
)
print(response.text)
```
