Property hostname
Remove-PropertyHostname
Synopsis
Remove hostnames from a property version.
Syntax
Remove-PropertyHostname [-PropertyName] <String> [-PropertyVersion] <String> -HostnamesToRemove <String> [-GroupID <String>] [-ContractId <String>] [-IncludeCertStatus] [-ValidateHostnames] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Remove-PropertyHostname -PropertyID <String> [-PropertyVersion] <String> -HostnamesToRemove <String> [-GroupID <String>] [-ContractId <String>] [-IncludeCertStatus] [-ValidateHostnames] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Removes one or more hostnames from a property. The property version you provide needs to be INACTIVE on both the production and staging networks.
Note: When removing hostnames, you don't need to specify more than the hostname itself.
Parameters
‑AccountSwitchKey | 
      
        
         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 Get-AccountSwitchKey.  | 
    
‑ContractId | 
      
        
         Your contract's ID. The parameter is optional if a property belongs to only one contract; otherwise, you need to specify it along with the   | 
    
‑EdgeRCFile | 
      
        
         Your EdgeGrid resource file to authenticate your command. Defaults to   | 
    
‑GroupID | 
      
        
         Your group's ID. The parameter is optional if a property belongs to only one group, otherwise you need to specify it along with the   | 
    
‑HostnamesToRemoveRequired  | 
      
        
         An array of hostnames to be removed. Only the actual hostname is required when removing.  | 
    
‑IncludeCertStatus | 
      
        
         When enabled, the response includes the certificate status for the hostname on staging and production networks.  | 
    
‑PropertyIDConditionally required  | 
      
        
         Your property's ID. Commonly, you only need to specify either   | 
    
‑PropertyNameConditionally required  | 
      
        
         A human-readable name for your property. Commonly, you only need to specify either   | 
    
‑PropertyVersionRequired  | 
      
        
         Property's incremental version number. Can be an integer or the word   | 
    
‑Section | 
      
        
         The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to   | 
    
‑ValidateHostnames | 
      
        
         When enabled, runs validation tests that would identify potential hostname-related problems within the response object's   | 
    
Related Links
Updated 4 months ago
