agent adl file delete
Delete a file from an Agentforce Data Library.
Permanently removes a file from an SFDRIVE data library and triggers re-indexing of the search index.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑api‑version | N/A | Type: Value Override the api version used for api requests made by this command |
‑‑file‑id | N/A | Type: Value Required ID of the file to delete (AiGroundingFileRef record ID). |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑library‑id | ‑i | Type: Value Required Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD). |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
Delete a file from a data library: