# Say why a job was dismissed

Records the reason a dismissed Match was dismissed: role, level, location, pay or company. Later searches for the same resume use it to rank similar jobs lower. Only a dismissed Match takes a reason; restoring it clears the reason. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/discovery/matches/{matchId}/dismiss-reason
x-api-key: YOUR_API_KEY
```

## Parameters

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

## Request body

```json
{
  "type": "object",
  "properties": {
    "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."
    },
    "reason": {
      "enum": [
        "role",
        "level",
        "location",
        "pay",
        "company"
      ],
      "type": "string",
      "description": "What was wrong with the job: role, level, location, pay or company."
    }
  },
  "required": [
    "reason"
  ]
}
```

## Responses

- `200`: The Match, with its reason.
