# Set resume password

Sets or updates a password on a resume. When a password is set, viewers of the public resume must enter the password before the resume data is revealed. The password must be between 6 and 64 characters. Requires authentication.

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

## Parameters

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "password": {
      "type": "string",
      "minLength": 6,
      "maxLength": 64
    }
  },
  "required": [
    "password"
  ]
}
```

## Responses

- `200`: The resume password was set successfully.
