mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-04-17 12:06:34 +02:00
772 B
772 B
sidebar_position
sidebar_position |
---|
5 |
Delete external file
Deletes an external file from Slack
Function DeleteExternalFile(Val Token, Val FileID) Export
Parameter | CLI option | Type | Description |
---|---|---|---|
Token | --token | String | Bot token |
FileID | --fileid | String | File identifier |
Returns: Map Of KeyAndValue - Serialized JSON response from Slack
Token = "xoxb-6965308400114-696804637...";
FileID = "F07P4JEGC8P";
Result = OPI_Slack.DeleteExternalFile(Token, FileID);
oint slack DeleteExternalFile --token %token% --fileid "F070P52CU94"
{
"ok": true
}