Delete a provider and all associated data.
Removes the provider deployment, resource definitions, and pending events. By default, fails if the provider has any resources. Use cascade=true to delete all resources along with the provider.
Args: provider_id: Unique identifier for the provider to delete. service: Provider service for deletion orchestration. cascade: If true, delete all resources. If false (default), fail if resources exist.
Returns: ProviderDeleteResult with cleanup summary.
Raises: HTTPException: 409 if provider has resources and cascade=false. HTTPException: 500 if deletion fails.
Delete all resources for this provider (default: fail if resources exist)
Successful Response
User-facing result of a provider delete operation.
Minimal representation without internal infrastructure details.
Attributes: provider_id: Provider that was deleted. deployment_deleted: Whether the running deployment was removed. resources_deleted: Number of resources deleted (if cascade was used).