Delete a resource


udclient [\[global-args...\]](../../com.udeploy.reference.doc/topics/ [\[global-flags...\]](../../com.udeploy.reference.doc/topics/
  deleteResource [parameters]


Parameter Type Required Description
resource string true Path to the resource, such as /ResourceGroup/Agents/Agent1
template string false Name or ID of the resource template (Optional)
blueprintId string false Name or ID of the blueprint (Optional)
application string false Name or ID of the application (Required to look up blueprint by name)


udclient  -username jsmith -password passwd 
  -resource "/ResourceGroup/My resource"

Note: When you specify the name of the resource, type the complete path to the resource, including the initial '/' character if the resource is not in any higher-level group.

Related REST command: Delete a resource.

Parent topic: CLI Commands