# Delete a site collection

Deletes a site collection, including sites in that collection.

Endpoint: DELETE /api/v1/collections/{collectionId}
Version: v1
Security: Bearer

## Path parameters:

  - `collectionId` (string, required)
    The identifier of the site collection.
    Example: "ff34f39f190b4079bf8a0242200b6780"

## Query parameters:

  - `environmentId` (string)

## Response 200 fields (application/json):

  - `handle` (string,null)

## Response 400 fields (application/json):

  - `type` (string,null)
    The type of the error response entity.

  - `title` (string,null)
    The title of the error response entity.

  - `status` (integer,null)
    The response status code.

  - `detail` (string,null)
    A detailed explanation, specific to this occurrence of the problem.

  - `instance` (string,null)
    If available, a URI reference that identifies the specific occurrence of the problem.

## Response 404 fields (application/json):

  - `type` (string,null)
    The type of the error response entity.

  - `title` (string,null)
    The title of the error response entity.

  - `status` (integer,null)
    The response status code.

  - `detail` (string,null)
    A detailed explanation, specific to this occurrence of the problem.

  - `instance` (string,null)
    If available, a URI reference that identifies the specific occurrence of the problem.


