# Set the lock status of several resumes

Locks or unlocks each listed resume as `setResumeLocked` does, in one request. Only resumes whose status actually changes are returned in `updatedIds`; an ID that is unknown, not yours, deleted or already in the requested state is left out. Requires authentication.

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "ids": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1000,
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "The IDs of the resumes to lock or unlock."
    },
    "isLocked": {
      "type": "boolean",
      "description": "Whether the resume is locked."
    }
  },
  "required": [
    "ids",
    "isLocked"
  ]
}
```

## Responses

- `200`: The IDs of the resumes whose lock status changed.
