# Set resume lock status

Toggles the locked status of a resume. When locked, a resume cannot be updated, patched, or deleted. Useful for protecting finalized resumes from accidental edits. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/resumes/{id}/lock
x-api-key: YOUR_API_KEY
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | Yes |  |

## Request body

```json
{
  "type": "object",
  "properties": {
    "isLocked": {
      "type": "boolean",
      "description": "Whether the resume is locked."
    }
  },
  "required": [
    "isLocked"
  ]
}
```

## Responses

- `200`: The resume lock status was updated successfully.
