Delete file or folder
Delete a single file or folder.
This operation is also available via the SDK method client.files.delete().
This acts on files in the AI Hub filesystem, not your local filesystem.
Ensure the path is accessible within the context defined by the
IB-Context header.Not all filesystem types support this operation.
Authentication
AuthorizationBearer
Bearer HTTP authentication.
Path parameters
path
Full path to the file or folder.
Headers
IB-Context
Typically your organization ID. See Authorization and context identification for details.
Response headers
Location
A URL where the status of the deletion job can be checked.
Response
Indicates that the deletion request has been accepted.
The operation returns this status code regardless of whether the file or folder exists.
