Using Before Provision Rule for a delete operation

I tried adding the below code to the source but it didn’t add the argument to the request.

 "cloudServicesIDNSetup": {
            "eventConfigurations": [
                {
                    "Action": "AddArgument",
                    "Attribute": "Location",
                    "Value": "#{identity.location}"
                }
      ]
}