You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
727 B
727 B
sidebar_position
| sidebar_position |
|---|
| 4 |
Delete file
Deletes a file on Slack
Function DeleteFile(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 = "F07PK2C447M";
Result = OPI_Slack.DeleteFile(Token, FileID);
oint slack DeleteFile --token %token% --fileid "F070VL6FQFM"
{
"ok": true
}