collections_delete_collection_version¶
Delete this collection’s version
Functions
- async pydelfini.delfini_core.api.collections.collections_delete_collection_version.asyncio(collection_id, version_id, *, client)[source]¶
Delete this collection’s version
Permanently remove the specified collection version.
If the version is the editable branch ‘LIVE’, all other versions of the collection must first be removed for this to succeed.
- Parameters:
collection_id (str)
version_id (str)
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Union[Any]
- Return type:
- async pydelfini.delfini_core.api.collections.collections_delete_collection_version.asyncio_detailed(collection_id, version_id, *, client)[source]¶
Delete this collection’s version
Permanently remove the specified collection version.
If the version is the editable branch ‘LIVE’, all other versions of the collection must first be removed for this to succeed.
- Parameters:
collection_id (str)
version_id (str)
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[Union[Any, ServerError]]
- Return type:
- pydelfini.delfini_core.api.collections.collections_delete_collection_version.sync(collection_id, version_id, *, client)[source]¶
Delete this collection’s version
Permanently remove the specified collection version.
If the version is the editable branch ‘LIVE’, all other versions of the collection must first be removed for this to succeed.
- Parameters:
collection_id (str)
version_id (str)
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Union[Any]
- Return type:
- pydelfini.delfini_core.api.collections.collections_delete_collection_version.sync_detailed(collection_id, version_id, *, client)[source]¶
Delete this collection’s version
Permanently remove the specified collection version.
If the version is the editable branch ‘LIVE’, all other versions of the collection must first be removed for this to succeed.
- Parameters:
collection_id (str)
version_id (str)
client (AuthenticatedClient)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[Union[Any, ServerError]]
- Return type: