R: Delete a LabKey domain

labkey.domain.drop {Rlabkey} | R Documentation

## Delete a LabKey domain

### Description

Delete an existing domain.

### Usage

    labkey.domain.drop(baseUrl=NULL, folderPath, schemaName, queryName)

### Arguments

`baseUrl` | a string specifying the `baseUrl`for the labkey server
`folderPath` | a string specifying the `folderPath`
`schemaName` | a string specifying the name of the schema of the domain
`queryName` | a string specifying the query name

### Details

This function will delete an existing domain along with any data that may have been uploaded to it.

### Author(s)

Karl Lum

### See Also

`labkey.domain.get`, `labkey.domain.inferFields`, `labkey.domain.createDesign`, `labkey.domain.createIndices`, `labkey.domain.save`, `labkey.domain.create`

### Examples

    ## delete an existing domain
    library(Rlabkey)

    labkey.domain.drop(baseUrl="http://labkey/", folderPath="home",
        schemaName="lists", queryName="test list")

[Package Rlabkey version 2.7.0 Index]