---
type: api
title: Get default Deployment Domain Name
description: Gets the default Deployment Domain Name configuration value.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/operation/operation-get-default-deployment-domain-name
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/operation/operation-get-default-deployment-domain-name
products:
  - Elastic Cloud Enterprise
---

# Get default Deployment Domain Name

## Paths

- `GET` `/platform/configuration/networking/deployment_domain_name`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/authentication#basicauth)
- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/authentication#apikey)

## Description

Gets the default Deployment Domain Name configuration value.

## Responses

#### `200`

The Deployment Domain Name was successfully retrieved

`application/json`

- `value` (string)
  The domain name for all deployments. The hostname of an application in a deployment is constructed from the application ID and the domain name (for example, 1234567890.example.com).
##### Response Headers

- `x-cloud-resource-version` (string)
  The resource version, which is used to avoid update conflicts with concurrent operations
- `x-cloud-resource-created` (string)
  The date-time when the resource was created (ISO format relative to UTC)
- `x-cloud-resource-last-modified` (string)
  The date-time when the resource was last modified (ISO format relative to UTC)

#### `404`

There is no configured Deployment Domain Name but optimistic locking was sent. (code: `networking.cname.not_found`)

`application/json`

- `errors` ([] BasicFailedReplyElement)
  A list of errors that occurred in the failing request
  - `code` (string)
    A structured code representing the error type that occurred
  - `message` (string)
    A human readable message describing the error that occurred
  - `fields` ([] string)
    If the error can be tied to a specific field or fields in the user request, this lists those fields
##### Response Headers

- `x-cloud-error-codes` (enum)
  The error codes associated with the response

## Code Examples

#### Console

```console
GET /platform/configuration/networking/deployment_domain_name
```

#### curl

```curl
curl -X GET "/platform/configuration/networking/deployment_domain_name"
```

