---
title: "Turn the link off, private or live (live checks it is ready), or give the private link a new secret"
method: PUT
path: "/v1/assistant/link"
---

# Turn the link off, private or live (live checks it is ready), or give the private link a new secret

`PUT /v1/assistant/link`

## Request

- Base URL: `https://api.octapi.app`
- URL: `https://api.octapi.app/v1/assistant/link`
- Auth: HTTP bearer

## Request body

- object
  - `state` 'off' | 'private' | 'live'
  - `regenerate` boolean
  - `expires_in_days` integer, nullable

## Response `200`

Default Response

- unknown

---

[API](https://skmtc.dev/octapi/apis/octapi-api.md) · [All operations](https://skmtc.dev/octapi/apis/octapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octapi/apis/octapi-api/revisions/580afda787d2?raw)
