DropIndex

You can call the DropIndex operation to delete a global secondary index.

Method
    /**
     * Delete a global secondary index.
     * @api
     *
     * @param [] $request
     *            The request parameter, which is the table name.
     * @return [] The response.
     * @throws OTSClientException The exception that is thrown when a parameter check error occurs or the Table Store server returns a verification error.
     * @throws OTSServerException The exception that is thrown when the Table Store server returns an error.
     * @example "src/examples/DropIndex.php"
     */
    public function dropIndex(array $request)
Example
$request = array (
    'table_name' => 'MainTableName',
    'index_name' => 'IndexName'
);
$otsClient->dropIndex( $request );