# REST: domain

Source: <https://telegafirst.com/docs/api-domain>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 8b44c36a9834cd01ae07d9a6bb7d6018825994e7c2382ea3e05b0130745c4f79
Version: 9

# REST: domain

Выберите операцию: полный контракт доступен по ссылке. Scopes: ALL; auth alternatives: OR.

## getDomainStatus

`GET /api/v1/tools/domain` — Read tenant custom-domain status

Scopes (ALL): \["domain:read"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-getdomainstatus)

## addDomainRequest

`POST /api/v1/tools/domain` — Request a custom-domain connection

Scopes (ALL): \["domain:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-adddomainrequest)

## verifyDomain

`POST /api/v1/tools/domain/verify` — Check the tenant zone ownership TXT record

Scopes (ALL): \["domain:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-verifydomain)

## removeDomain

`DELETE /api/v1/tools/domain/{zone}` — Disconnect a tenant custom domain

Scopes (ALL): \["domain:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-removedomain)
