Remove-SAPSuccessFactors Cmdlet
Deletes SAP SuccessFactors data.
Syntax
Remove-SAPSuccessFactors [parameters]
Remarks
The Remove-SAPSuccessFactors cmdlet allows you to use a syntax similar to SQL DELETE statements to delete SAP SuccessFactors data.
$conn = Connect-SAPSuccessFactors -User "username" -Password "password" -CompanyId "CompanyId" -Url "https://api4.successfactors.com" Remove-SAPSuccessFactors -Connection $conn -Table "SampleTable_1" -Id "6"The Where parameter can also be used to specify the primary key:
Remove-SAPSuccessFactors -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"The primary key can also be passed to the cmdlet along the pipeline:
Select-SAPSuccessFactors -Connection $conn -Table SampleTable_1 -Where "Column2 = 'Bob'" | Remove-SAPSuccessFactors