Skip to main content
DELETE
DELETE /v1/containers/{id}

Delete a Container

Delete a container by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.

Delete by ID

id
string
required
UUID of the container to delete.
recursive
boolean
default:"false"
Recursively delete child containers.
hardDelete
boolean
default:"false"
Permanently delete the container. If false, the container is soft-deleted and can be restored.

Delete by Name

Use DELETE /v1/containers/name/{fqn} to delete by fully qualified name.
fqn
string
required
Fully qualified name of the container (e.g., s3_datalake.analytics-bucket).
recursive
boolean
default:"false"
Recursively delete child containers.
hardDelete
boolean
default:"false"
Permanently delete the container.

Restore a Soft-Deleted Container

Use PUT /v1/containers/restore to restore a soft-deleted container.
id
string
required
UUID of the soft-deleted container to restore.
DELETE /v1/containers/{id}

Returns

Soft delete returns the container object with deleted: true. Hard delete returns no content (204). Restore returns the restored container object.

Error Handling