async def METHOD_NAME(
    cls, controller: AcaPyClient, credential_exchange_id: str
):
    bound_logger = logger.bind(
        body={"credential_exchange_id": credential_exchange_id}
    )
    bound_logger.debug("Get credential id without version")
    credential_exchange_id = cred_id_no_version(credential_exchange_id)
    bound_logger.debug("Getting v1 credential record")
    record = await controller.issue_credential_v1_0.get_record(
        cred_ex_id=credential_exchange_id
    )
    bound_logger.debug("Deleting v1 credential record")
    await controller.issue_credential_v1_0.delete_record(
        cred_ex_id=credential_exchange_id
    )
    # also delete indy credential
    if record.credential_id:
        bound_logger.debug("Deleting indy credential")
        await controller.credentials.delete_record(
            credential_id=record.credential_id
        )
    bound_logger.debug("Successfully deleted credential.")