## Archive a share link

**post** `/compute/v1/share-links/{id}/archive`

Archive a share link so it no longer grants public access. Metadata remains retrievable and repeated calls preserve the first archive timestamp.

### Path Parameters

- `id: string`

### Returns

- `id: string`

- `archived: true`

  - `true`

- `archived_at: string`

  When the share link was first archived.

### Example

```http
curl https://api.boltz.bio/compute/v1/share-links/$ID/archive \
    -X POST \
    -H "x-api-key: $BOLTZ_API_KEY"
```

#### Response

```json
{
  "id": "shr_qoEFr2BlPTBLuM5BinaC8x7iVPP_AwppEOmlxQjJ-eo",
  "archived": true,
  "archived_at": "2019-12-27T18:11:19.117Z"
}
```
