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
1C:Enterprise/OneScript code example
Token = "sl.CBL71_21WiKphqlWV34l0tlFn8eGn_YrnPrMexNmHltofj3DkBRsnpQEFY5O5H6i-iRl3bPDBi...";
Folder = "11134704243";
Result = OPI_Dropbox.CancelFolderPublication(Token, Folder);
- Bash
- CMD/Bat
oint dropbox CancelFolderPublication \
--token "***" \
--folder "11135761411"
oint dropbox CancelFolderPublication ^
--token "***" ^
--folder "11135761411"
Result
{
".tag": "async_job_id",
"async_job_id": "dbjid:AABIL_Y3eWbNQjjcels4kLWmUwVyjbJ-P7WpZzl6jIq3_fb2oSve73rWjYkC5VFtf8SOK2kP67Ms--L0g4pcUNzO"
}