Domains
Get a domain
Return one domain by id (404 if not found or not authorized).
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
domain_id*integer
Response Body
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/domains/0"{
"id": 0,
"value": "string",
"organization_id": 0,
"verified": true,
"kind": "domain_checkbox",
"created_at": "2019-08-24T14:15:22Z",
"verification_token": "string",
"verification_txt_record": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Delete a domain DELETE
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.
List domains GET
List the domains visible to the caller.