mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-02-09 13:47:03 +02:00
44 lines
968 B
Plaintext
44 lines
968 B
Plaintext
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
# Unpublish folder
|
|
Cancels the public access mode for the directory
|
|
|
|
|
|
|
|
`Function CancelFolderPublication(Val Token, Val FolderID) Export`
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|-|-|-|-|-|
|
|
| Token | --token | String | ✔ | Token |
|
|
| FolderID | --folder | String | ✔ | ID of the public catalog (shared folder ID) |
|
|
|
|
|
|
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
|
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
|
|
Folder = "11727195745";
|
|
|
|
Result = OPI_Dropbox.CancelFolderPublication(Token, Folder);
|
|
```
|
|
|
|
|
|
|
|
|
|
```json title="Result"
|
|
{
|
|
".tag": "async_job_id",
|
|
"async_job_id": "dbjid:AABIL_Y3eWbNQjjcels4kLWmUwVyjbJ-P7WpZzl6jIq3_fb2oSve73rWjYkC5VFtf8SOK2kP67Ms--L0g4pcUNzO"
|
|
}
|
|
```
|