> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# DROP RESOURCE

> Use DROP RESOURCE to drop an existing resource.

Use DROP RESOURCE to drop an existing resource. Only root or superuser can drop resources.

Syntax:

```sql theme={null}
DROP RESOURCE 'resource_name'
```

## Examples

1. Drop Spark resource named spark0.

   ```SQL theme={null}
   DROP RESOURCE 'spark0';
   ```

2. Drop Hive resource named hive0.

   ```SQL theme={null}
   DROP RESOURCE 'hive0';
   ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.