Register an identity domain to prove (owner)
Register a domain and return the DNS record that proves it.
The domain is unproven until a check observes the record; nothing here can shortcut that. The response carries the token to publish, so a caller never needs a second request to find out what to do next.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.ethiack.com/v1/organizations/0/sso/domains" \ -H "Content-Type: application/json" \ -d '{ "domain": "string" }'{
"id": 0,
"domain": "string",
"verified_at": "2019-08-24T14:15:22Z",
"last_checked_at": "2019-08-24T14:15:22Z",
"record_name": "string",
"record_name_relative": "string",
"record_value": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Evaluate a job's success GET
Evaluate whether a job passed a severity gate, so a CI pipeline can gate on the status code. A job that has not finished answers `202`. A finished job answers `200` when it passed; when it did not, it answers `424`, or `500` if the job errored. With `fail=false`, every finished job answers `200` and the verdict is in the body.
Withdraw an identity domain (owner) DELETE
Withdraw a domain, proven or not. Narrows who federated login may admit, which is the safe direction -- but it also stops new joiners at that domain, so it is deliberately the owner's decision rather than something a wider role can do.