# Verify, rotate, or update a docs domain
PATCH /api/projects/{projectId}/domains/{domainId}
## Request
```bash
curl -X PATCH 'https://sourced.sh/api/projects/{projectId}/domains/{domainId}' \
  -H 'Authorization: Bearer $SOURCED_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
```
## Parameters

- projectId (path, required): Project identifier.
- domainId (path, required): Docs domain identifier.

## Request body

type: object
properties:
  verify: boolean
  rotate: boolean
  domain: string

## Responses

### 200

Domain updated.
### 401


### 403


### 404


### 422

DNS records were checked but the domain could not be verified.
