Delete external file
Deletes an external file from Slack
Function DeleteExternalFile(Val Token, Val FileID) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Bot token |
FileID | --fileid | String | ✔ | File identifier |
Returns: Map Of KeyAndValue - serialized JSON response from Slack
1C:Enterprise/OneScript code example
Token = "xoxb-6965308400114-696804637...";
FileID = "F084MEWKZH7";
Result = OPI_Slack.DeleteExternalFile(Token, FileID);
- Bash
- CMD/Bat
oint slack DeleteExternalFile \
--token "***" \
--fileid "F084E8XH35J"
oint slack DeleteExternalFile ^
--token "***" ^
--fileid "F084E8XH35J"
Result
{
"ok": true
}