# domains

UrbeStack release 0.2.35 API group, 20 operations.

- [GET /domains](https://urbestack.com/docs/api/get-domains.md): List domains
- [POST /domains](https://urbestack.com/docs/api/post-domains.md): Add a hosted domain
- [GET /domains/{name}](https://urbestack.com/docs/api/get-domains-name.md): Get a domain
- [PATCH /domains/{name}](https://urbestack.com/docs/api/patch-domains-name.md): Update a domain's settings
- [DELETE /domains/{name}](https://urbestack.com/docs/api/delete-domains-name.md): Delete a domain and its subdomains
- [GET /domains/{name}/aliases](https://urbestack.com/docs/api/get-domains-name-aliases.md): List a domain's aliases
- [POST /domains/{name}/aliases](https://urbestack.com/docs/api/post-domains-name-aliases.md): Add an alias to a domain
- [DELETE /domains/{name}/aliases/{alias}](https://urbestack.com/docs/api/delete-domains-name-aliases-alias.md): Remove an alias from a domain
- [GET /domains/{name}/logs/{type}](https://urbestack.com/docs/api/get-domains-name-logs-type.md): Read lines from a domain's access, error or PHP error log
- [GET /domains/{name}/logs/{type}/content](https://urbestack.com/docs/api/get-domains-name-logs-type-content.md): Get a domain's access, error or PHP error log as base64
- [GET /domains/{name}/modsec](https://urbestack.com/docs/api/get-domains-name-modsec.md): Get a domain's ModSecurity modes
- [PATCH /domains/{name}/modsec](https://urbestack.com/docs/api/patch-domains-name-modsec.md): Set a domain's ModSecurity mode or its owner's choice
- [GET /domains/{name}/modsec/disabled-rules](https://urbestack.com/docs/api/get-domains-name-modsec-disabled-rules.md): List disabled ModSecurity rules for a domain
- [POST /domains/{name}/modsec/disabled-rules](https://urbestack.com/docs/api/post-domains-name-modsec-disabled-rules.md): Disable ModSecurity detection rules for a domain
- [DELETE /domains/{name}/modsec/disabled-rules/{rule}](https://urbestack.com/docs/api/delete-domains-name-modsec-disabled-rules-rule.md): Remove a domain's setting that disables a ModSecurity rule
- [GET /domains/{name}/modsec/requests](https://urbestack.com/docs/api/get-domains-name-modsec-requests.md): List requests ModSecurity blocked or would have blocked for a domain
- [GET /domains/{name}/redirects](https://urbestack.com/docs/api/get-domains-name-redirects.md): List a domain's path redirects
- [POST /domains/{name}/redirects](https://urbestack.com/docs/api/post-domains-name-redirects.md): Add a path redirect to a domain
- [DELETE /domains/{name}/redirects/{id}](https://urbestack.com/docs/api/delete-domains-name-redirects-id.md): Remove a path redirect from a domain
- [GET /domains/{name}/stats](https://urbestack.com/docs/api/get-domains-name-stats.md): Get a domain's traffic statistics for a period

Every operation of the group in one file: https://urbestack.com/docs/api/group/domains/full.md
