---
title: Turn off link sharing
description: POST /nd/api/share/close_link_share: Close link sharing interface description, including path, method, parameters and return information.
slug: api-post-nd-api-share-close-link-share
lang: en
category: Sharing API
category_order: 8
order: 130
api_method: POST
api_path: /nd/api/share/close_link_share
api_label: Turn off link sharing
keywords:
  - API
  - Turn off link sharing
  - /nd/api/share/close_link_share
---

# Turn off link sharing

| Properties | Values |
| --- | --- |
| HTTP method | `POST` |
| Interface path | `/nd/api/share/close_link_share` |
| Category | Share API |

## Interface description

Interface path: `/nd/api/share/close_link_share`

HTTP method: `POST`


**HTTP method:** `POST`

Close the shared link I opened
#### POST request body parameters

Parameter name Comment (description)
file_id shared file id (required) string
#### Return field description

{"code":0,"success":true}

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Sharing API.
