Add tag
Add new tag to file or folder
Function AddTag(Val Token, Val Path, Val Tag) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Path | --path | String | ✔ | Path to the object for which the tag needs to be created |
Tag | --tag | String | ✔ | Tag text |
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
1C:Enterprise/OneScript code example
Tag = "Important";
Token = "sl.CBL71_21WiKphqlWV34l0tlFn8eGn_YrnPrMexNmHltofj3DkBRsnpQEFY5O5H6i-iRl3bPDBi...";
Path = "/New/mydoc.docx";
Result = OPI_Dropbox.AddTag(Token, Path, Tag);
- Bash
- CMD/Bat
oint dropbox AddTag \
--token "***" \
--path "/New/mydoc.docx" \
--tag "Important"
oint dropbox AddTag ^
--token "***" ^
--path "/New/mydoc.docx" ^
--tag "Important"
Result
{}