Domains
Delete a domain
Delete a domain, and by default the assets no other proof covers.
The optional body's delete_assets controls the cascade; omitting the body (as every legacy client does) keeps legacy's behaviour and removes the assets under the domain that no other active proof still covers.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
domain_id*integer
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X DELETE "https://api.ethiack.com/v1/domains/0" \ -H "Content-Type: application/json" \ -d '{ "delete_assets": true }'{
"code": 0,
"description": "string",
"id": 0,
"success": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}