# Revoke a share link (/docs/api-reference/share-links/revoke)

> The link stops working immediately (410 Gone).

`DELETE https://druckling-nine.vercel.app/v1/documents/{id}/share_links/{share_link_id}`

The link stops working immediately (410 Gone).

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes |  |
| `share_link_id` | path | string | yes |  |

## Response 200: OK

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "const": "share_link"
    },
    "document": {
      "type": "string"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The public link. Returned only when the link is created: Druckling keeps a hash of it, not the link itself."
    },
    "hint": {
      "type": "string",
      "description": "Last four characters of the link, to tell links apart."
    },
    "status": {
      "enum": [
        "active",
        "expired",
        "revoked"
      ],
      "type": "string"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "revoked_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    },
    "test_mode": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "object",
    "document",
    "url",
    "hint",
    "status",
    "expires_at",
    "revoked_at",
    "test_mode",
    "created_at"
  ]
}
```