Domains

Create a domain

A new draft owned by the account, empty or with the taxonomy given. Free. A draft can be edited until it is published; it can't be given to a workspace before. The slug must be new to the account and not a platform slug.

post/v1/domains

Request

Request body

slugstring required

Lowercase letters, digits and single underscores. It can't change later.

display_namestring required

Example request

{
  "taxonomy": {
    "classes": [
      {
        "group": "leases",
        "subgroup": "amendments",
        "description": "Amendments to a signed lease.",
        "aliases": [
          "lease amendment"
        ]
      }
    ],
    "allow_other": true
  }
}

Response

The new draft and its validation.

Example response

{
  "domain": {
    "taxonomy": {
      "classes": [
        {
          "group": "leases",
          "subgroup": "amendments",
          "description": "Amendments to a signed lease.",
          "aliases": [
            "lease amendment"
          ]
        }
      ],
      "allow_other": true
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.