Course Files API - Delete file
When I use the Course Files API to view a file, it works as expected. For example,
d2l/api/lp/1.44/xxxx/managefiles/file?path=/path/to/file.txt (org id and file name omitted) works completely fine and as expected.
Based on the documentation, it would appear that the only thing that should change is instead of using the
GET verb, it should instead use
DELETE. However, when trying to do this, it returns a
403 Forbidden error, despite using an administrator account and ensuring that the Role Permissions allowed for file creation and deletion.
Is there something I'm missing? I note that the documentation references
JSON Parameters: DeleteFile -
Delete file properties, although it doesn't actually provide any reference as to what this body should contain.
Thanks in advance!