## Archive a share link

`$ boltz-api share-links archive`

**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.

### Parameters

- `--id: string`

  Share link ID. This value is a bearer credential and is redacted from application logs and traces.

### Returns

- `ShareLinkArchiveResponse: object { id, archived, archived_at }`

  - `id: string`

  - `archived: true`

  - `archived_at: string`

    When the share link was first archived.

### Example

```cli
boltz-api share-links archive \
  --api-key 'My API Key' \
  --id shr_qoEFr2BlPTBLuM5BinaC8x7iVPP_AwppEOmlxQjJ-eo
```

#### Response

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