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

Delete an API Collection

Delete an API collection by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.

Delete by ID

id
string
required
UUID of the API collection to delete.
recursive
boolean
default:"false"
Recursively delete child entities (API endpoints).
hardDelete
boolean
default:"false"
Permanently delete the API collection. If false, the API collection is soft-deleted and can be restored.

Delete by Name

Use DELETE /v1/apiCollections/name/{fqn} to delete by fully qualified name.
fqn
string
required
Fully qualified name of the API collection (e.g., sample_api_service.pet).
recursive
boolean
default:"false"
Recursively delete child entities (API endpoints).
hardDelete
boolean
default:"false"
Permanently delete the API collection.

Restore a Soft-Deleted API Collection

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

Returns

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

Error Handling