external help file: TeamViewerPS-help.xml Module Name: TeamViewerPS online version: https://github.com/teamviewer/TeamViewerPS/blob/main/Docs/Help/Remove-TeamViewerDeviceCustomFieldConfiguration.md schema: 2.0.0
Deletes a device custom field definition.
Remove-TeamViewerDeviceCustomFieldConfiguration [-APIToken] <SecureString> [-Id] <Guid> [-WhatIf] [-Confirm] [<CommonParameters>]Deletes a company-level device custom field definition. Deleting a definition also removes values stored for this field on devices.
The TeamViewer API access token.
Type: SecureString
Parameter Sets: (All)
Aliases: None
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe unique identifier of the custom field definition. Alias: FieldKeyId.
Type: Guid
Parameter Sets: (All)
Aliases: FieldKeyId
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseRemove-TeamViewerDeviceCustomFieldConfiguration -APIToken $apiToken -Id $fieldIdDeletes the device custom field identified by $fieldId and its stored device values.
Remove-TeamViewerDeviceCustomFieldConfiguration -Id 'c0cb303a-8a85-4e54-b657-a4757c791aef'Deletes the device custom field definition identified by the given Id.
'730ee15a-1ea4-4d80-9cfe-5a01709d0a2f' | Remove-TeamViewerDeviceCustomFieldConfigurationDeletes the device custom field definition using pipeline input.
This cmdlet does not return output.