# Recheck a domain's DNS

Resolves the domain's records now and updates each record's result and the domain's status: finding the ownership record verifies it, losing it marks the domain failing. Rate limited to once every 30 seconds per domain; a second call inside that window answers 429 with Retry-After.

Access class: `workspace:admin`.

## Endpoint

`POST /v1/workspace/domains/{id}/recheck`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {},
  "params": {
    ":id": "string"
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "string",
    "domain": "string",
    "id": "",
    "inboundCount": 1.5,
    "lastCheckedAt": "string",
    "records": [
      {
        "host": "string",
        "lastCheckedAt": "string",
        "ok": true,
        "purpose": "string",
        "required": true,
        "type": "string",
        "value": "string"
      }
    ],
    "status": "string",
    "verifiedAt": "string"
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
