# create_subdomain

> Create a subdomain on a domain, then confirm it by reading the list back.

- Tier: W
- Required scope: write:hosting
- Annotations: idempotentHint
- Docs: https://api.inleed.com/tools/create-subdomain

## Description

Create a subdomain on a domain, then confirm it by reading the list back. `label` is a single DNS label (e.g. `blog`), not a full hostname — the domain comes from `input`. Requires the `write:hosting` scope.

## Input schema

- `input` — string (required). A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
- `label` — string (required). The subdomain label to add — one DNS label like blog or dev, not a full hostname. It becomes label.&lt;domain&gt;.

## Example call

```json
{
  "name": "create_subdomain",
  "arguments": {
    "input": "example.se",
    "label": "example.se"
  }
}
```

