Delete a domain
This endpoint allows you to delete a domain
Endpoint
DELETE /registrar/v1/domains/{domain}
Parameters
| Name | Location | Required | Type | Default value | Description |
|---|---|---|---|---|---|
| domain | URL | Yes | String | A complete domain name | |
| abandonType | Body | No | String | The wished abandon type. You can choose between the following options :
If field is empty, EXPIRATION is set by default. | |
| abandonDate | Body | No/Yes | String | This field is mandatory only if you choose the ‘ATDATE’ type. You must specify a date using the following syntax yyyy-mm-dd. Example : 2012-12-25 |
Response
Delete domain
Example Request
DELETE /registrar/v1/domains/exemple.com
Content-Type: application/json
Body
{
"abandonType": "ATDATE",
"abandonDate": "2024-12-15"
}
Example Response
{
"message": "Ok"
}