# Class: DeleteContainerRequest

## tibco.objectapi.service.request.DeleteContainerRequest

#### new DeleteContainerRequest(containerId)

Object DeleteContainerRequest Usage: `RestApiService.getDirectoryService().deleteContainer(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`containerId` | number | (Java type: long) ID of the LDAP container to be deleted.

Since:
  - 4.0.0

### Members

#### deleteResources :boolean

Query parameter: 'deleteresources' (optional) Ff true, and if the caller has the required privileges for either of the system actions resourceAdmin or deleteResourceAdmin, any associated resources are deleted before the LDAP Container is deleted.

##### Type:

- boolean

Since:
  - 4.0.0
Default Value:
  - = false