Ethiack Docs
Organizations

List an organization's identity domains

GET
/v1/organizations/{organization_id}/sso/domains

List the domains and their proof state.

Readable by every member of the organization, not only the owner: a domain and whether it is proven are configuration rather than a secret, and an admin debugging why federated login admits nobody needs to see them.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer

Query Parameters

page?integer
Default1
Range1 <= value
per_page?integer

Page size. Values above 500 are clamped to it (or rejected, per the server configuration).

Default25
Range1 <= value

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/organizations/0/sso/domains"
{
  "total": 0,
  "page": 0,
  "per_page": 0,
  "_links": {
    "property1": "string",
    "property2": "string"
  },
  "domains": [
    {
      "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"
    }
  ],
  "record_label": "_ethiack-identity-challenge"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}