Skip to content
Navigation

Delete a file

Deletes a file and everything parsed out of it.

{id} accepts the file id or the file name, exactly as GET does.

Runs that already referenced the file keep their results — deleting the source does not retroactively empty a finished run.

Learn more: Working with files

DELETE
https://api.cloudraker.com/v1/spaces/{spaceId}/files/{id}
Try it
Path parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required
    minLength: 1
  • spaceId
    string
    required

Returns

204

Deleted.

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

404

Unknown file id.

409

The name matches more than one file (ambiguous_file_name), or there are too many files to resolve a name safely (file_listing_truncated).

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close