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

# drop_schema

### drop\_schema

<ul>
  <li>
    drop\_schema(\
    &#x20;schema\_name: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[DropSchemaResponse](https://docs.kinetica.com/content/api/javascript/interfaces/DropSchemaResponse.md)>

    Drops an existing SQL-style schema, specified in `schema_name`.

    #### Parameters

    <ul>
      <li>
        schema\_name: string

        Name of the schema to be dropped. Must be an existing schema.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[DropSchemaResponse](https://docs.kinetica.com/content/api/javascript/interfaces/DropSchemaResponse.md)>

    Promise\<Types.DropSchemaResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:8554](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L8554)</li>
    </ul>
  </li>
</ul>

### drop\_schema\_request

<ul>
  <li>
    drop\_schema\_request(\
    &#x20;request: [DropSchemaRequest](https://docs.kinetica.com/content/api/javascript/interfaces/DropSchemaRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[DropSchemaResponse](https://docs.kinetica.com/content/api/javascript/interfaces/DropSchemaResponse.md)>

    Drops an existing SQL-style schema, specified in `schema_name`.

    #### Parameters

    <ul>
      <li>
        request: [DropSchemaRequest](https://docs.kinetica.com/content/api/javascript/interfaces/DropSchemaRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[DropSchemaResponse](https://docs.kinetica.com/content/api/javascript/interfaces/DropSchemaResponse.md)>

    Promise\<Types.DropSchemaResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:8531](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L8531)</li>
    </ul>
  </li>
</ul>


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