Each resource created is managed as composition data. You need the gradual elimination of dependencies managed by the composition data to delete a resource.
The following shows the procedure for deleting each resource. You must delete prerequisite resources before deleting a target resource.
Point
Confirm that the transaction server is not using the target resources before deleting said resources.