---
title: "Update the sender domain of reseller's child based on the childIdentifier and domainName passed"
method: PUT
path: "/reseller/children/{childIdentifier}/domains/{domainName}"
tags: ["Reseller"]
---

# Update the sender domain of reseller's child based on the childIdentifier and domainName passed

`PUT /reseller/children/{childIdentifier}/domains/{domainName}`

## Request

- Base URL: `https://api.brevo.com/v3`
- URL: `https://api.brevo.com/v3/reseller/children/{childIdentifier}/domains/{domainName}`
- Auth: one of:
  - API key in header `api-key`
  - API key in header `partner-key`
- TypeScript: <https://skmtc.dev/getbrevo/apis/brevo-api/docs/reseller/children/:childIdentifier/domains/:domainName/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `childIdentifier` string, required
- `domainName` string, required

## Request body

- UpdateChildDomain
  - `domain` string: Value for the sender domain that will replace the existing domain

## Response `204`

reseller's child domain updated

## Other responses

- `400`: bad request
- `403`: Current account is not a reseller
- `404`: Child auth key or child id not found

---

[API](https://skmtc.dev/getbrevo/apis/brevo-api.md) - [All operations](https://skmtc.dev/getbrevo/apis/brevo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getbrevo/apis/brevo-api/revisions/2aec3cf66501?raw)
