---
updatedAt: 2026-05-14T21:45:26.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/powershell/llms.txt
---

# Domain ownership challenge

Get-PropertyDomainOwnershipChallenge

## Synopsis

Generate challenges to verify domain ownership.

## Syntax

```powershell
Get-PropertyDomainOwnershipChallenge [[-Hostname] <String[]>] [-RefreshToken] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## Description

Retrieve domain ownership challenges for hostnames in your property.

## Parameters

<table>
  <tbody>
    <tr>
      <td class="ps-td"><code>&#8209;AccountSwitchKey</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use <a href="https://techdocs.akamai.com/powershell/docs/get-accountswitchkey">Get-AccountSwitchKey</a>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;EdgeRCFile</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>Your EdgeGrid resource file to authenticate your command. Defaults to <code>~/.edgerc</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;Hostname</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String[]</span>
          <span class="ps-param-metadata">Pipeline input: ByValue</span>
        </div>
        <div>
          <p>The <code>cnameFrom</code> for the hostname your end users see, indicated by the <code>Host</code> header in the end-user requests.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;RefreshToken</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">Switch</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>Whether the response should initiate refresh challenge tokens when they are expired for the hostnames provided in the input.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;Section</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to <code>default</code>.</p>
        </div>
      </td>
    </tr>
  </tbody>
</table>

## Related Links

* [User Guide: Property](https://techdocs.akamai.com/powershell/docs/property-manager)
* [API Reference](https://techdocs.akamai.com/property-mgr/reference/post-domain-ownership-challenges)

# Sibling pages

* [Account ID](https://techdocs.akamai.com/powershell/docs/get-accountid.md)
* [Bucket activation](https://techdocs.akamai.com/powershell/docs/get-bucketactivation.md)
* [Bucket hostname](https://techdocs.akamai.com/powershell/docs/get-buckethostname.md)
* [Bulk activated property](https://techdocs.akamai.com/powershell/docs/get-bulkactivatedproperty.md)
* [Bulk-patched property](https://techdocs.akamai.com/powershell/docs/get-bulkpatchedproperty.md)
* [Bulk search result](https://techdocs.akamai.com/powershell/docs/get-bulksearchresult.md)
* [Bulk-versioned property](https://techdocs.akamai.com/powershell/docs/get-bulkversionedproperty.md)
* [Custom behavior](https://techdocs.akamai.com/powershell/docs/get-custombehavior.md)
* [Custom override](https://techdocs.akamai.com/powershell/docs/get-customoverride.md)
* [CP code](https://techdocs.akamai.com/powershell/docs/get-propertycpcode.md)
* [Edge hostname](https://techdocs.akamai.com/powershell/docs/get-propertyedgehostname.md)
* [Group](https://techdocs.akamai.com/powershell/docs/get-group.md)
* [Hostname audit history](https://techdocs.akamai.com/powershell/docs/get-hostnameaudithistory.md)
* [Include](https://techdocs.akamai.com/powershell/docs/get-propertyinclude.md)
* [Include activation](https://techdocs.akamai.com/powershell/docs/get-propertyincludeactivation.md)
* [Include behaviors](https://techdocs.akamai.com/powershell/docs/get-propertyincludebehaviors.md)
* [Include criteria](https://techdocs.akamai.com/powershell/docs/get-propertyincludecriteria.md)
* [Include parent](https://techdocs.akamai.com/powershell/docs/get-propertyincludeparent.md)
* [Include rules](https://techdocs.akamai.com/powershell/docs/get-propertyincluderules.md)
* [Include rules digest](https://techdocs.akamai.com/powershell/docs/get-propertyincluderulesdigest.md)
* [Include version](https://techdocs.akamai.com/powershell/docs/get-propertyincludeversion.md)
* [Product](https://techdocs.akamai.com/powershell/docs/get-product.md)
* [Property](https://techdocs.akamai.com/powershell/docs/get-property.md)
* [Property activation](https://techdocs.akamai.com/powershell/docs/get-propertyactivation.md)
* [Property behaviors](https://techdocs.akamai.com/powershell/docs/get-propertybehaviors.md)
* [Property build](https://techdocs.akamai.com/powershell/docs/get-propertybuild.md)
* [Property certificate challenge](https://techdocs.akamai.com/powershell/docs/get-propertycertificatechallenge.md)
* [Property client settings](https://techdocs.akamai.com/powershell/docs/get-propertyclientsettings.md)
* [Property contract](https://techdocs.akamai.com/powershell/docs/get-propertycontract.md)
* [Property criteria](https://techdocs.akamai.com/powershell/docs/get-propertycriteria.md)
* [Property debug key](https://techdocs.akamai.com/powershell/docs/get-propertydebugkey.md)
* [Property hostname](https://techdocs.akamai.com/powershell/docs/get-propertyhostname.md)
* [Product use cases](https://techdocs.akamai.com/powershell/docs/get-productusecases.md)
* [Property request schema](https://techdocs.akamai.com/powershell/docs/get-propertyrequestschema.md)
* [Property rules](https://techdocs.akamai.com/powershell/docs/get-propertyrules.md)
* [Property rules digest](https://techdocs.akamai.com/powershell/docs/get-propertyrulesdigest.md)
* [Property version](https://techdocs.akamai.com/powershell/docs/get-propertyversion.md)
* [Property version's includes](https://techdocs.akamai.com/powershell/docs/get-propertyversioninclude.md)
* [Rule format](https://techdocs.akamai.com/powershell/docs/get-ruleformat.md)
* [Rule format schema](https://techdocs.akamai.com/powershell/docs/get-ruleformatschema.md)
* [Top-level groups](https://techdocs.akamai.com/powershell/docs/get-toplevelgroup.md)