Skip to main content
DELETE
Delete

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

key
string
required

URL-encoded tenant-relative object key.

Query Parameters

environment
string

Environment slug to scope this operation to. Defaults to "production". An environment that does not exist on the project answers 404. The key is resolved within the addressed environment's scope.

Pattern: ^[a-z][a-z0-9-]{0,38}$
bucket
string

Bucket name to address (see buckets.list). The bucket must belong to this organization and be either an organization-level shared bucket or scoped to this project — any other name answers 404. Omitted, the operation addresses the project's original per-environment storage scope, exactly as before buckets existed; that legacy scope is separate from every named bucket, including the project's default bucket. With a bucket, the key is resolved within the bucket's own namespace.

Pattern: ^[a-z][a-z0-9-]{1,61}$

Response

Object deleted (idempotent).