REST API - deleteContainer

The table summarizes the REST API - deleteContainer.

Request

Format
DELETE <baseurl>/directory/container/<containerid>
Path parameters containerid: the unique ID of the LDAP container to be deleted.
Query parameters deleteresources=boolean (optional, default=false): if true, and if the caller has the required privileges for either of the system actions resourceAdmin or deleteResourceAdmin , any associated resources will be deleted before the LDAP Container is deleted.

Response

JSON Returns a 200 OK response header with an empty response body.
XML Returns a 200 OK response header with an empty response body.

Example

Request
DELETE <baseurl>/directory/container/1