Delete an API collection by ID or name, with soft/hard delete options
false, the API collection is soft-deleted and can be restored.DELETE /v1/apiCollections/name/{fqn} to delete by fully qualified name.
sample_api_service.pet).PUT /v1/apiCollections/restore to restore a soft-deleted API collection.
deleted: true. Hard delete returns no content (204). Restore returns the restored API collection object.
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this API collection |
404 | NOT_FOUND | API collection with given ID or FQN does not exist |