---
title: "Upsert Registrant"
method: PUT
path: "/api/domains/registrant"
tags: ["services"]
---

# Upsert Registrant

`PUT /api/domains/registrant`

## Request

- Base URL: `https://api.monacloud.vn`
- URL: `https://api.monacloud.vn/api/domains/registrant`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Token`

Cập nhật dữ liệu tại `/api/domains/registrant`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới.

## Request body

- DomainRegistrant
  - `owner_type` 'individual' | 'organization'
  - `fullname` string, required
  - `email` string, required
  - `phone` string, required
  - `address` string, required
  - `province` string
  - `ward` string
  - `country` string
  - `cccd` string, nullable
  - `dob` string, nullable
  - `gender` 'male' | 'female' | '', nullable
  - `org_name` string, nullable
  - `tax_code` string, nullable
  - `representative` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud.md) · [All operations](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/llms.txt) · [OpenAPI document](https://skmtc.dev/monacloud/apis/mona-cloud-api-compute-truoc-ay-vibecloud/revisions/34a120ed37ce?raw)
