# Delete policy document

Deletes a document tied to a policy. Requires Document Manager **Delete** for the **policy** module. Path `id` is the document ID. Returns **422** if the document is already deleted.

Endpoint: DELETE /v1/documents/{id}/policy
Version: 1.0.0
Security: BearerAuth, ApiKeyAuth

## Path parameters:

  - `id` (integer, required)
    Document ID.

## Response 200 fields (application/json):

  - `success` (boolean)

  - `data` (object)

  - `data.message` (string)
    Example: Document deleted successfully.

  - `error` (string)

## Response 400 fields (application/json):

  - `errorCode` (integer)

  - `errorText` (string)

## Response 404 fields (application/json):

  - `errorCode` (integer)

  - `errorText` (string)

## Response 422 fields (application/json):

  - `errorCode` (integer)

  - `errorText` (string)

