# Update an application's notes or job link

Replaces the free-text notes kept against an application, and/or points it at another job link (for a link that was a dead end, such as a shortened lnkd.in link, or the wrong job). Moving to another link keeps the notes, the resume and the tailored copies, and clears the match score and scorecard, which described the old posting; the next review reads the new one. Refused while a review, tailoring or application run is under way. Requires authentication.

```http
PATCH https://hiresweep.com/api/openapi/applications/{id}
x-api-key: YOUR_API_KEY
```

## Parameters

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "notes": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10000
        },
        {
          "type": "null"
        }
      ],
      "description": "Replaces the notes; null clears them. Omit to leave them as they are."
    },
    "url": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri",
      "description": "Points the application at another job link. Its match score and scorecard are cleared, because they described the old posting."
    }
  }
}
```

## Responses

- `200`: The updated application.
- `400`: 400
