# Vet or unvet an approved line

Vets a suggested line, so tailoring and cover letters may reuse its words, or takes a vetted line back to suggested. Refused with CONFLICT when vetting would pass 100 vetted lines, and with FORBIDDEN for an API key: only the signed-in user can vet. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/library/approved-lines/{id}/status
x-api-key: YOUR_API_KEY
```

## Parameters

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "status": {
      "enum": [
        "suggested",
        "vetted"
      ],
      "type": "string"
    },
    "clientId": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "The client whose data this is, for an operator applying on behalf of clients. Omit for your own."
    }
  },
  "required": [
    "status"
  ]
}
```

## Responses

- `200`: The line with its new status.
