Delete knowledge file
Delete a file from a knowledge pack by its relative path.
Restrictions
Usage
- Deleting is idempotent — removing a file that does not exist succeeds.
- When other pack files still reference the target, the delete fails with
ReferenceExistlisting the referrers; setforceto proceed (the referrers are returned as warnings). - Omitting
pack_idtargets the account-scope pack; editing the account pack requires account owner/admin, editing a team pack requires team membership. - Every call is recorded in the account audit log.
Authorizations
App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
File to remove from a knowledge pack.
Response
Success
Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.
Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.
"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
Error payload inside the response envelope. Present only on non-2xx responses.
Deletion result; empty unless warnings were raised.