---
title: "Revoke the Dev share link and active sessions"
method: DELETE
path: "/v1/projects/{project_id}/dev-share-link"
---

# Revoke the Dev share link and active sessions

`DELETE /v1/projects/{project_id}/dev-share-link`

## Request

- Base URL: `https://app.ohmyho.st`
- URL: `https://app.ohmyho.st/v1/projects/{project_id}/dev-share-link`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, required

## Headers

- `X-Request-Id` string
- `Idempotency-Key` string, required

## Response `200`

Dev share link revoked.

- DevAccessState
  - `project_id` string, required
  - `mode` 'protected' | 'public', required
  - `share_url` string, uri, nullable, required: Owner-only persistent bearer link in protected mode; null when public or revoked.

## Other responses

- `401`: The request failed.
- `403`: The request failed.
- `404`: The request failed.
- `503`: The request failed.

---

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